HELLO EVERYONE, I HAVE A PROBLEM WHEN I WANT TO USE A TFT SCREEN 0.96 INCH ST7735 AND ARDUINO NANO 33 IOT, I AM USING THE EXAMPLE OF THE Adafruit-ST7735-Library LIBRARY, BUT WHEN LOADING THE PROGRAM TO THE ARDUINO, IT DOES NOT START THE PROGRAM ONLY THE SCREEN IN BLACK, I HAVE LOADED THE SAME PROGRAM IN A SINGLE ARDUINO NANO AND IT WORKS CORRECTLY, I THINK IT IS BECAUSE OF THE SS PIN OF THE SPI PROTOCOL, SOMEONE HAS AN IDEA OF HOW TO DECLARE THIS PIN IN SOME SPECIAL WAY OR WHAT IS THE CORRECT SS PIN FOR ARDUINO NANO IOT
Unlike the AVR boards, there is no pin on the Nano 33 IoT that is more appropriate than any other for use as SS. You can feel free to use any free pin. But make sure that you pass the pin number you are using to the Adafruit-ST7735-Library's Adafruit_ST7735 constructor.
yes , just declaring different pin numbers for the SS pin but any communication with the TFT display , i compiled on arduino uno and arduino nano and its working perfectly but in arduino nano 33 IOT it doesn't have any response
Specifics of the 33 IOT changes please... which pin for SS, and the section of code where you specify it. Please post that and also details of the SS wire connection.
Thank you Sr johnwasser , and is some special command to avtivated or something like that ? i dont know what is happening with my arduino nano 33 iot , it sems to be connected and declaring the pin number right
also trying with arduino NANO BLE SENSE , BLE , IOT , OR PORTENTA H7 and realize that this code doesnt work but the same still works on UNO , MEGA OR NANO
Likely because the display libraries rely on AVR chip specific timings for some display control signals. Or, in the realm of possible error, some pin mix up.
Sometimes the header files (.h) have some info or clues in the form of #defines that select different code for different boards (ideally !).