My programs were all working for 3 years then suddenly started compilation errors. I created a new sketchbook folder with just my program and a new library folder with just the latest “Heltec_ESP32_Dev-Boards” library. When I try to compile for heltec esp32 wifi lora v2 I get multiple warnings with this error c:\Users\petef\Documents\Newtest\libraries\Heltec_ESP32_Dev-Boards\src\driver\sx1276.c:1289:5: error: implicit declaration of function ‘SpiInOut’; did you mean ‘SpiInit’? [-Wimplicit-function-declaration]
I have to back to version 1.5 to get it to compile. This worked for 3 years until recently when I got these errors in the only partially working Heltic in the Arduino serial port;
“E (118) i2c.master: I2C hardware timeout detected
E (119) i2c.master: s_i2c_synchronous_transaction(924): I2C transaction failed
E (119) i2c.master: i2c_master_multi_buffer_transmit(1186): I2C transaction failed”
This happens over and over and the Heltec doesn’t work at all.
Her is the program:’#include “heltec.h”
byte cntr;
#define BAND 433E6
void setup() {
Heltec.begin(false /DisplayEnable Enable/, true /LoRa Disable/, true /Serial Enable/, true /PABOOST Enable/, BAND /long BAND/);
Heltec.VextON();
Serial.begin(115200);
}
void loop() {
cntr++;
Serial.println(cntr);
delay(1000);
}