Newbie,
I am actually working with Visuino (7.8.2.246) and heltec Lora 32, the template is simple, just trying to
send a message (HELLO WORLD !), When I try to compile the software generated, through the Arduino
IDE, I receive this compiling errors.
Could anybody help on this issue, any help greatly appreciatted.
(Looks to me that all the errors are related to the on board displayof the Heltec Lora 32 board)
Arduino: 1.8.5 (Windows 10), Board: "Heltec_WIFI_LoRa_32, 80MHz, 921600"
Build options changed, rebuilding all
Heltec_lora32:40: error: type/value mismatch at argument 2 in template parameter list for 'template<unsigned char C_COMPinsConfig, unsigned char C_ADDRESS, unsigned char WIDTH, unsigned char HEIGHT, class T_I2C, T_I2C& C_I2C> class Mitov::Display_odtSSD1306_I2C'
Mitov::DisplaySSD1306<Mitov::DisplaySSD1306HeltecReset<Mitov::Display_odtSSD1306_I2C<0x12,TwoWire,Wire,60,128,64>>, 128, 64> TArduinoESP32HeltecSSD1306Display1( nullptr );
^
C:\Users\DAVID-PHOENIX\Documents\Arduino\Arduino Sample programs\Visuino\Heltec_lora32\Heltec_lora32.ino:40:111: note: expected a constant of type 'unsigned char', got 'TwoWire'
Heltec_lora32:40: error: could not convert template argument 'Wire' to 'unsigned char'
Heltec_lora32:40: error: type/value mismatch at argument 5 in template parameter list for 'template<unsigned char C_COMPinsConfig, unsigned char C_ADDRESS, unsigned char WIDTH, unsigned char HEIGHT, class T_I2C, T_I2C& C_I2C> class Mitov::Display_odtSSD1306_I2C'
C:\Users\DAVID-PHOENIX\Documents\Arduino\Arduino Sample programs\Visuino\Heltec_lora32\Heltec_lora32.ino:40:111: note: expected a type, got '128'
C:\Users\DAVID-PHOENIX\Documents\Arduino\Arduino Sample programs\Visuino\Heltec_lora32\Heltec_lora32.ino:40:111: note: invalid template non-type parameter
Heltec_lora32:40: error: template argument 1 is invalid
Mitov::DisplaySSD1306<Mitov::DisplaySSD1306HeltecReset<Mitov::Display_odtSSD1306_I2C<0x12,TwoWire,Wire,60,128,64>>, 128, 64> TArduinoESP32HeltecSSD1306Display1( nullptr );
^
Heltec_lora32:40: error: template argument 1 is invalid
Mitov::DisplaySSD1306<Mitov::DisplaySSD1306HeltecReset<Mitov::Display_odtSSD1306_I2C<0x12,TwoWire,Wire,60,128,64>>, 128, 64> TArduinoESP32HeltecSSD1306Display1( nullptr );
^
C:\Users\DAVID-PHOENIX\Documents\Arduino\Arduino Sample programs\Visuino\Heltec_lora32\Heltec_lora32.ino: In function 'void PinCalls::PinCallerReceive3(void*)':
Heltec_lora32:72: error: request for member 'RefreshInputPin_o_Receive' in 'Declarations::TArduinoESP32HeltecSSD1306Display1', which is of non-class type 'int'
Declarations::TArduinoESP32HeltecSSD1306Display1.RefreshInputPin_o_Receive( _Data );
^
C:\Users\DAVID-PHOENIX\Documents\Arduino\Arduino Sample programs\Visuino\Heltec_lora32\Heltec_lora32.ino: In function 'void setup()':
Heltec_lora32:87: error: request for member 'Text' in 'Declarations::TArduinoESP32HeltecSSD1306Display1', which is of non-class type 'int'
Declarations::TArduinoESP32HeltecSSD1306Display1.Text.BackgroundColor = Mitov::tmcBlack;
^
Heltec_lora32:94: error: request for member 'SystemInit' in 'Declarations::TArduinoESP32HeltecSSD1306Display1', which is of non-class type 'int'
Declarations::TArduinoESP32HeltecSSD1306Display1.SystemInit();
^
Heltec_lora32:101: error: request for member 'SystemStart' in 'Declarations::TArduinoESP32HeltecSSD1306Display1', which is of non-class type 'int'
Declarations::TArduinoESP32HeltecSSD1306Display1.SystemStart();
^
exit status 1
type/value mismatch at argument 2 in template parameter list for 'template<unsigned char C_COMPinsConfig, unsigned char C_ADDRESS, unsigned char WIDTH, unsigned char HEIGHT, class T_I2C, T_I2C& C_I2C> class Mitov::Display_odtSSD1306_I2C'