this post was submitted on 26 Jun 2025
10 points (100.0% liked)
Ask Electronics
3762 readers
1 users here now
For questions about component-level electronic circuits, tools and equipment.
Rules
1: Be nice.
2: Be on-topic (eg: Electronic, not electrical).
3: No commercial stuff, buying, selling or valuations.
4: Be safe.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I noticed that you use digitalWrite multiple times for each transmitted pixel. That function is pretty slow - you should instead manipulate the microcontrollers registers directly for maximum performance. If you are using an Arduino, this article will help: https://roboticsbackend.com/arduino-fast-digitalwrite/
Thank you for the article it is really interesting. Always assumed it would already do just that but it does make sense considering the amount of Controller it has to support. Will be changing that anywhere it gets called often.