DirectIO
DirectIO copied to clipboard
Fast, simple I/O library for Arduino
I checked many libraries and like your DirectIO. It would be great to get support for these chips please. I am tried to add support for nRF52 serie but fall...
Currently DirectIO uses a read, flip, write sequence to toggle output pins. This can be done faster by using the `PINx` registers (on some targets?). See section 14.2.2 of the...
Hello, I am curious about what would need to be done in order for me to add Teensy 3.2/3.1 support. I have a Teensy 3.2 I can test with, which...
I've modified your library to support the ATmega2561 and 1281 chips, with pinouts defined from the MCUdude/MegaCore project. I've tested the changes on a custom board using the ATmega1281 chip...
FastLED.io and DirectIO seem to conflict with multiple collisions. Example: ``` In file included from C:\EE\microController\arduino-1.8.0\libraries\DirectIO/DirectIO.h:31:0, from C:\EE\microController\arduino-1.6.9\projects\XXXXX.ino:73: C:\EE\microController\arduino-1.8.0\libraries\DirectIO/include/pin.h:21:7: error: redefinition of 'class InputPin' class InputPin { ```
It would be great to get support for these chips please. \Arduino\libraries\DirectIO/ports.h:31:20: fatal error: avr/io.h: No such file or directory #include
How do I do this using DirectIO? ``` pinMode(ESP_RESET_PIN, OUTPUT); digitalWrite(ESP_RESET_PIN, LOW); delay(50); digitalWrite(ESP_RESET_PIN, HIGH); delay(50); pinMode(ESP_RESET_PIN, INPUT); ```
Current OutputPort::write() code: ``` void write(port_data_t value) { atomic { // read-modify-write cycle port_data_t v = port::port_output_read(); port_data_t shifted = value