Hi all, My projects are running fine with a Teensy 3.6 but for better performance I like to use the Teensy 4, I use a RA8875 display from Buydisplay but when compiling I get a error. What can I do to get my programs to work with the new Teensy.
Best,
Johan
#include <SPI.h>
#include <Wire.h>
#include <RA8875.h>
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
RA8875.cpp:476:11: 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));//pinMode(_cs, OUTPUT);
Best,
Johan
#include <SPI.h>
#include <Wire.h>
#include <RA8875.h>
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
RA8875.cpp:476:11: 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));//pinMode(_cs, OUTPUT);