Skip to content

Fix expander pin number issue.

Compare
Choose a tag to compare
@Trusty77 Trusty77 released this 09 Jul 15:07
· 5 commits to master since this release

08/07/2019 V1.2.1

  • Correction de la présence de ARDUINO_DEBUG_MODe qui n'existe pas !
  • Ajout d'un test dans Port::MovePin() pour identifier un GPIO_pin_t par rapport à un pin expander.
  • Ajout d'un test au lancement pour vérifier que toutes les pins des expandeurs chargés ne rentrent pas en collision avec les GPIO_pin_t.
  • Suppression de la fonction (dangereuse) Accessories::wait(). Elle faisit bien un loop de accessories, mais pas du reste du loop du .ino !
  • Une fonction GetPinsNumber() a été ajoutée sur les expanders.

  • ARDUINO_DEBUG_MODE, unknown define, has been removed.
  • In Port::MovePin(), a test has been added to check the difference between expander pin and GPIO_pin_t pin.
  • A new test has been added at the end of main setup() function to check compatibility between all expander pins and GPIO_pin_t.
  • The function Accessories::wait() has benn removed. It was dangerous to use it because only the Accessories::loop() were called, and not all the stuff in the .ino main loop() !
  • A new virtual function GetPinsNumber() has been added to the expander class.