ILI9163C display library

It is a good thing that you went and looked in the library files, but you sometimes have to look further. Notice the line #include <SPI.h> in TFT_ILI9163C.cpp?

Then go here https://www.arduino.cc/en/Reference/SPI and look at that table of GPIO designations and dedications - see how 10 is included in various boards?

Follow up on this and you can track its down and get an idea of how you might be able to workaround it or configure it differently. I can tell you, however, that if that pin is needed by SPI (and it certainly looks that way) and you (or a library) wants to use the Arduino SPI routines, the easier way is to find another GPIO to use.

Hope this helps.
 

Thread Starter

Dabu WhiteHacker

Joined Sep 5, 2017
68
It is a good thing that you went and looked in the library files, but you sometimes have to look further. Notice the line #include <SPI.h> in TFT_ILI9163C.cpp?

Then go here https://www.arduino.cc/en/Reference/SPI and look at that table of GPIO designations and dedications - see how 10 is included in various boards?

Follow up on this and you can track its down and get an idea of how you might be able to workaround it or configure it differently. I can tell you, however, that if that pin is needed by SPI (and it certainly looks that way) and you (or a library) wants to use the Arduino SPI routines, the easier way is to find another GPIO to use.

Hope this helps.
thanks for help. :)
according to my search pin 10 which is used as SS (Slave Select) by arduino should be high to configure arduino as master device. It could be used as pwm pin but as it is used as digital output we cant use it as digital input, so in the end i have to use other pin than that.
 
thanks for help. :)
according to my search pin 10 which is used as SS (Slave Select) by arduino should be high to configure arduino as master device. It could be used as pwm pin but as it is used as digital output we cant use it as digital input, so in the end i have to use other pin than that.
Yeah, that was what it looked like to me also. I got in the habit of keeping the pin map for a board or chip that I am working with handy all the time - like these that illustrate the multiple uses:




 
Top