On Thu, Jul 2, 2020 at 03:47 PM, M0ZHN wrote:
Success! The sketch compiled and managed to load it onto the board. Using the serial monitor it talks to the IDE and loads the configuration but fails on initialising the hardware as nothing is yet connected to it :D
So, on with the hardware build, I don't have a pcb so will be a manhattan style for now
Thanks for the help so far, will keep you posted on my progress.
73 Elia, M0ZHN
Am I experiencing the same thing?? Probably not as compiling is not completing without errors.? I am using just a ESP32 WROVER board, trying to load the code for now, I have not yet built the TSA PCB's, waiting on a few parts (so no display yet although I have one).? I think I have gotten all the right libraries and made the needed changes per the manual but getting the following:
C:\Users\Bob A. Booey\Documents\Arduino\TinySA\JMP_tinySA_V2.9\JMP_TinySA_V2.9\JMP_TinySA_V2.9.ino: In function 'void setup()':
JMP_TinySA_V2.9:429:6: error: 'class TFT_eSPI' has no member named 'setTouch'
? tft.setTouch ( config.touch_cal );????? // Send calibration data to the display
????? ^
C:\Users\Bob A. Booey\Documents\Arduino\TinySA\JMP_tinySA_V2.9\JMP_TinySA_V2.9\JMP_TinySA_V2.9.ino: In function 'void setUpLEDC()':
JMP_TinySA_V2.9:1875:18: error: 'TFT_LED' was not declared in this scope
? ledcAttachPin ( TFT_LED, LEDC_CHANNEL_0 );
????????????????? ^
C:\Users\Bob A. Booey\Documents\Arduino\TinySA\JMP_tinySA_V2.9\JMP_TinySA_V2.9\JMP_TinySA_V2.9.ino: In function 'void TouchCalibrate()':
JMP_TinySA_V2.9:1907:6: error: 'class TFT_eSPI' has no member named 'calibrateTouch'
? tft.calibrateTouch ( config.touch_cal, MAGENTA, BLACK, 15 );
????? ^
C:\Users\BOBA~1.BOO\AppData\Local\Temp\arduino_build_840385\sketch\ui.cpp: In function 'int touch_status()':
ui.cpp:704:15: error: 'class TFT_eSPI' has no member named 'getTouchRawZ'
? return ( tft.getTouchRawZ() > TS_MINIMUM_Z ); // "RawZ" is a measure of touch pressure
?????????????? ^
C:\Users\BOBA~1.BOO\AppData\Local\Temp\arduino_build_840385\sketch\ui.cpp: In function 'uint8_t validTouch(uint16_t*, uint16_t*, uint16_t)':
ui.cpp:737:12: error: 'class TFT_eSPI' has no member named 'getTouchRawZ'
?? z1 = tft.getTouchRawZ ();?? // Read new pressure
??????????? ^
ui.cpp:751:6: error: 'class TFT_eSPI' has no member named 'getTouchRaw'
? tft.getTouchRaw ( &x_tmp, &y_tmp );? // Get touch coordinates
????? ^
ui.cpp:762:11: error: 'class TFT_eSPI' has no member named 'getTouchRawZ'
? if ( tft.getTouchRawZ() <= threshold ) // Threshold not met?
?????????? ^
ui.cpp:767:6: error: 'class TFT_eSPI' has no member named 'getTouchRaw'
? tft.getTouchRaw ( &x_tmp2, &y_tmp2 ); // Get 2nd set of coordinates
????? ^
C:\Users\BOBA~1.BOO\AppData\Local\Temp\arduino_build_840385\sketch\ui.cpp: In function 'uint8_t getTouch(uint16_t*, uint16_t*)':
ui.cpp:848:6: error: 'class TFT_eSPI' has no member named 'convertRawXY'
? tft.convertRawXY ( &x_tmp, &y_tmp ); // Calibrate the readings
????? ^
Multiple libraries were found for "WiFi.h"
?Used: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi
?Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
Using library TFT_eSPI at version 2.2.6 in folder: C:\Users\Bob A. Booey\Documents\Arduino\libraries\TFT_eSPI
Using library SPI at version 1.0 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\SPI
Using library FS at version 1.0 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\FS
Using library SPIFFS at version 1.0 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\SPIFFS
Using library Wire at version 1.0.1 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\Wire
Using library WiFi at version 1.0 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi
Using library AsyncTCP-master at version 1.1.1 in folder: C:\Users\Bob A. Booey\Documents\Arduino\libraries\AsyncTCP-master
Using library ESPAsyncWebServer-master at version 1.2.3 in folder: C:\Users\Bob A. Booey\Documents\Arduino\libraries\ESPAsyncWebServer-master
Using library ArduinoJson-6.x at version 6.15.2 in folder: C:\Users\Bob A. Booey\Documents\Arduino\libraries\ArduinoJson-6.x
Using library arduinoWebSockets-master at version 2.2.1 in folder: C:\Users\Bob A. Booey\Documents\Arduino\libraries\arduinoWebSockets-master
Using library WiFiClientSecure at version 1.0 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFiClientSecure
Using library Preferences at version 1.0 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\Preferences
exit status 1
'class TFT_eSPI' has no member named 'setTouch'
Thanks for any advice/pointers and 73,
Robert, WA2T