error: cannot convert 'volatile uint32_t*
leetut opened this issue · 0 comments
/Applications/Arduino.app/Contents/Java/libraries/TFT/src/utility/Adafruit_ST7735.cpp:349:13: error: cannot convert 'volatile uint32_t* {aka volatile long unsigned int*}' to 'volatile uint8_t* {aka volatile unsigned char*}' in assignment
csport = portOutputRegister(digitalPinToPort(_cs));
^
/Applications/Arduino.app/Contents/Java/libraries/TFT/src/utility/Adafruit_ST7735.cpp:351:13: error: cannot convert 'volatile uint32_t* {aka volatile long unsigned int*}' to 'volatile uint8_t* {aka volatile unsigned char*}' in assignment
rsport = portOutputRegister(digitalPinToPort(_rs));
^
/Applications/Arduino.app/Contents/Java/libraries/TFT/src/utility/Adafruit_ST7735.cpp:370:17: error: cannot convert 'volatile uint32_t* {aka volatile long unsigned int*}' to 'volatile uint8_t* {aka volatile unsigned char*}' in assignment
clkport = portOutputRegister(digitalPinToPort(_sclk));
^
/Applications/Arduino.app/Contents/Java/libraries/TFT/src/utility/Adafruit_ST7735.cpp:372:17: error: cannot convert 'volatile uint32_t* {aka volatile long unsigned int*}' to 'volatile uint8_t* {aka volatile unsigned char*}' in assignment
dataport = portOutputRegister(digitalPinToPort(_sid));
^
Using library TFT at version 1.0.6 in folder: /Applications/Arduino.app/Contents/Java/libraries/TFT
Using library SPI at version 1.0 in folder: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI
Using library ArduinoMenu_library at version 4.21.4 in folder: /Users/lee/Documents/Arduino/libraries/ArduinoMenu_library
Error compiling for board Teensy 4.0.