On Mon, 04 Jul 2022 09:08:53 -0700, Marc Petremann wrote:
Hello LED flashing is arguably the very first development project that
most ARDUINO or ESP32 programmers try. If this exercise is interesting,
however, it is interesting to see its variant which exploits the timers
on ESP32.
https://esp32.arduino-forth.com/article/timers_blink BR
Hi All, it's been a few years since I last posted here...
Good to see some embedded tips, especially related to using hardware
timers compared to the more common spinner blocking delays.
Lately I have been experimenting with using a polled hardware timer to
more closely match the delay times of a tethered forth in emulation mode compared to a binary image on the target. Why polled? because the emulator cannot use interrupts.
In actual use the emulator, (Mecrisp-Stellaris on a STM32F407 Discovery
Board running Mecrisp-Across.fs) can be up to several times slower than
the MSP430 Target running the final compiled binary.
https://mecrisp-across-folkdoc.sourceforge.io
--
To me, good Embedded Forth code is all about readability, traceability and maintainability with respect to the *hardware*.
Maintainer:
https://mecrisp-stellaris-folkdoc.sourceforge.io and
https:// mecrisp-across-folkdoc.sourceforge.io
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)