Not knowing definition of LED_STATE I have no idea, how to „marry” that „state” to present „led”.Oh, it's VALUE; so (probably) nothing more we can do here.
Not knowing definition of LED_STATE I have no idea, how to „marry” that „state” to present „led”.Oh, it's VALUE; so (probably) nothing more we can do here.
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
The purpose of the article is not to make "good FORTH code", but FORTH code as readable as possible.
The interest of the article is above all to show the interest of timers on ESP32forth....
Are you programming with ESP32forth?
If so, do you share your contributions somewhere, like on GitHub for example?
The purpose of the article is not to make "good FORTH code", but FORTH code as readable as possible.What can be more readable than good Forth code? You mean: bad Forth code is more readable?
The interest of the article is above all to show the interest of timers on ESP32forth....Just wrote my first program in ESP32forth -- so yes, it seems I do.
Are you programming with ESP32forth?
If so, do you share your contributions somewhere, like on GitHub for example?No, because you published your example here, not on GitHub.
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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 47:02:51 |
Calls: | 6,710 |
Calls today: | 3 |
Files: | 12,243 |
Messages: | 5,354,365 |
Posted today: | 1 |