Hi, Using both Adafruit 1.8 TFT and MS5535 sensor sharing same SPI on Teensy 3.1 I have lot of problems. I nailed them down to not being able to read data from sensor. Library MS55xx posted in another thread manipulates its CS manualy. If I use it with AdafruitST7735 library on same Teensy 3.1 I have problems. Untill I do not initialize
sensor is read normaly. As soon as tft is initialized I can not reach the sensor any more. I think it is a CS problem - seems AdafruitST7735 limits in some way manual maniputaltion of sensors CS.
As sensor does not have its port for CS I added tristate buffer for the purpose as there must be and it works ok until I initialize the tft.
Is anyone able to help?
Code:
tft.initR(INITR_BLACKTAB);
As sensor does not have its port for CS I added tristate buffer for the purpose as there must be and it works ok until I initialize the tft.
Is anyone able to help?