![]() While (!Serial & ((millis () - debug_start) 15) tft.roundGaugeTicker(x, y, r, 165, 375, 1. #define RA8875_RESET 9//any pin or nothing! If you modify or get better result please let me know It's slow since the ballistic uses delay, a better example will be posted soon The 3 gauges read analog values from A0,A1 & A2 ![]() This example show how to create 3 round gauge that react like the real one with (almost) correct ballistic ROUND GAUGE EXAMPLE with ballistic! only 800x480 The image attached shows the diagram that I am using, Anyone could help me ? /* In that case the Adafruit library will be of little help and you might need an Arduino MEGA and a lot of programming to get the parallel interface to work. It could be that one of the two on your pinout is the Display and one is the EEPROM but it is also possible that one goes to the EEPROM and the other goes to a separate chip (like a separate Touch Screen controller) and you are expected to use the parallel interface to control the display. The RS8875 has two SPI interfaces (Display and EEPROM). Your pinout seems to show a 16-pin parallel interface and two SPI interfaces. The TFTeSPI library has a built in touch controller for the XPT2046 type driver, in this case the touch controller must be on the same port as the TFT but different pins must be used for the two chip selects. Then set the SIFS pins to 1,0 to select 4-wire SPI. With the ESP32 the TFTeSPI library can be configured to use either the HDPI port or the VSPI port. Looks like you set the PS pin HIGH to select Serial (SPI/I2C) instead of the 8/16-bit parallel interface. I will be using the pin names from the datasheet. ![]() It looks like the labels on your pinout don't match the labels the manufacturer uses for the RA8875. ![]() The first hint would be to read the dtasheet: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |