It isn't hard to use assembly but it is rarely worth the effort. The compilers do a good job.
The trick with writing better assembly language code is to first figure out if the effort is worth it. Is it in some critical bit of code that has...
Thanks, Denis. Can you imagine being able to do that FFT on an old Z80/8051 running at 4Mhz? My mind is still boggling. I also remember spending way too much money on a co-processor for my first 8080 PC, which had the full complement of 640K RAM...
Hello Denis,
I read your post about wanting to use other environments to program the Teensy, and it resonated with a little of my experience while returning to the world of microcontrollers again after 30 years. I hope you don't mind the...
Thanks Paul,
I'll sort these items out and have another look.
1) I guess "write fast" must now be in the main library, so there is no need to include it explicitly.
2) Noted, too, about variable scope(s)!
Earlier, I did a separate non-looped...
Hi all,
digitilWrite() and digitalWriteFast comparison:
I have been playing around with Teensy 4.1 and noticed that there isn't a material difference between digitalWrite() and digitalWriteFast().
I set up a simple loop test, repeating a pin...