I have noticed that lot of people been asking about port manipulation example code and I was also searching for the same. After reading some documentation I came up with these program to read/write multiple pins simultaneously at faster speed.
This is my first attempt at creating something like this. Let me know how it is.
Here is the GitHub link: https://github.com/ManojBR105/Teensy-4.0_digital_parallel_read-write
Please see readme file for more information.
I have used only pins 0-23 and optimized the code to take less time and operations to the best of my knowledge.
This is my first attempt at creating something like this. Let me know how it is.
Here is the GitHub link: https://github.com/ManojBR105/Teensy-4.0_digital_parallel_read-write
Please see readme file for more information.
I have used only pins 0-23 and optimized the code to take less time and operations to the best of my knowledge.