Closed jemo07 closed 1 year ago
Are you in hex mode when you define the pins? If so, the GPIO numbers are being misinterpreted. I recommend using explicit base prefixes like #23 (decimal) or $23 (hex).
What he said. C Forth defaults to base 16. ;-)
Duhhhhhhhh! Thank you...
Thank you Mitch and Quozi, correct, will use #(decimal) $(hexadecimal) moving forward, this was my issue and also would explain a strange level of frustration in the last 48h :+1: Awesome Forth!
Hello Mitch, first of all, thank you for this amazing forth, I can't believe I did not find it until now!
I having an issue with setting up the M5STACK to use it's built in SPI ILI9342/41
This is as far as I got ( well after bouncing on the ESP32 lack of good documentation just to find the registers.)
I get the following error:
Did search on the offending code but I don't see the connection ( my limitations in c ) https://github.com/espressif/arduino-esp32/blob/720be7599f23ccf26a09bb371af833b44cf4627f/cores/esp32/esp32-hal-gpio.c#L91 I also uploaded to code to another ESP32, and the same issue ( all build with pio ).
I extracted the following: https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf
and for further interest on the M5stack pinout, this can be found here:
https://github.com/m5stack/M5Unified
Any pointers would be greatly appreciated.