ArduinoCore-avr icon indicating copy to clipboard operation
ArduinoCore-avr copied to clipboard

Virtual pins handlers

Open neu-rah opened this issue 8 years ago • 3 comments

Resolves https://github.com/arduino/ArduinoCore-avr/issues/1

defining alternative pin handling functions and respective triggers installed into pin functions

all changes wraped by #defines

alternative handlers require compilation with VIRTUAL_PINS defined

digital pin functions triggers require both VIRTUAL_PINS and VPINS_TRIGGER defined

eventually we can extend pin tables instead of installing the triggers

neu-rah avatar Oct 20 '17 10:10 neu-rah

the pre-processor defines are only for testing purposes and provide an easy way of checking the impact by turning the feature on/off, after that we should remove them this does not break compatibility with non-avr cores, they could implement it at its own pace and if desired.

neu-rah avatar Jan 04 '19 09:01 neu-rah

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 09 '21 16:04 CLAassistant

should I remove the testing #defines? they are only there for testing purposes. However if Arduino IDE allows compiler level defines they can remain as an option for user to include/exclude the functionality.

neu-rah avatar Apr 24 '21 14:04 neu-rah