-
Hello, I try to build Arduino firmware version, origin version work fine but I want to add some modification, the original source code too complex to understand with full of macro ... that why I rewire it in Arduino.
But it never work, I also try to use -27 and -26. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
In my code the negative port numbers are not actually negative numbers. The - is just a flag in the settings to tell my code it is inverted. You set the port (positive number) and set the serial to be inverted using a separate call. Arduino must have a call to set inverted serial signals. |
Beta Was this translation helpful? Give feedback.
-
port_mask just gets the actual GPIO number to use, tripping the extra bits I set for inverted, etc. If you are not using my code and just have port numbers, use them! |
Beta Was this translation helpful? Give feedback.
port_mask just gets the actual GPIO number to use, tripping the extra bits I set for inverted, etc. If you are not using my code and just have port numbers, use them!