can anyone help me???

Arduino: 1.6.13 (Windows 10), Placa:"Arduino Nano, ATmega328"

SHCommands.h:4: error: expected initializer before 'void'

void Command_Hello() {

^

C:\Users\RICARD~1\AppData\Local\Temp\arduino_build_894583\sketch\SHCommands.h: In function 'void Command_SetBaudrate()':

SHCommands.h:12: error: 'SetBaudrate' was not declared in this scope

SetBaudrate();

^

In file included from C:\Program Files (x86)\SimHub_Addons\Arduino\DisplayClientV2\DisplayClientV2.ino:822:0:

C:\Users\RICARD~1\AppData\Local\Temp\arduino_build_894583\sketch\SHCommands.h: In function 'void Command_ExpandedCommandsList()':

SHCommands.h:128: error: 'FlowSerialPrintLn' was not declared in this scope

FlowSerialPrintLn("encoders");

^

C:\Program Files (x86)\SimHub_Addons\Arduino\DisplayClientV2\DisplayClientV2.ino: In function 'void EncoderPositionChanged(int, int, byte)':

DisplayClientV2:884: error: 'arqserial' was not declared in this scope

arqserial.CustomPacketStart(0x01, 3);

^

DisplayClientV2:891: error: 'arqserial' was not declared in this scope

arqserial.CustomPacketStart(0x02, 2);

^

C:\Program Files (x86)\SimHub_Addons\Arduino\DisplayClientV2\DisplayClientV2.ino: In function 'void buttonStatusChanged(int, byte)':

DisplayClientV2:905: error: 'arqserial' was not declared in this scope

arqserial.CustomPacketStart(0x03, 2);

^

C:\Program Files (x86)\SimHub_Addons\Arduino\DisplayClientV2\DisplayClientV2.ino: In function 'void buttonMatrixStatusChanged(int, byte)':

DisplayClientV2:918: error: 'arqserial' was not declared in this scope

arqserial.CustomPacketStart(0x03, 2);

^

C:\Program Files (x86)\SimHub_Addons\Arduino\DisplayClientV2\DisplayClientV2.ino: In function 'void setup()':

DisplayClientV2:1092: error: 'arqserial' was not declared in this scope

arqserial.setIdleFunction(idle);

^

C:\Program Files (x86)\SimHub_Addons\Arduino\DisplayClientV2\DisplayClientV2.ino: In function 'void loop()':

DisplayClientV2:1187: error: 'Command_Hello' was not declared in this scope

if (loop_opt == '1') Command_Hello();

^

DisplayClientV2:1209: error: too many arguments to function 'String FlowSerialReadStringUntil(char)'

String xaction = FlowSerialReadStringUntil(' ', '\n');

^

In file included from C:\Program Files (x86)\SimHub_Addons\Arduino\DisplayClientV2\DisplayClientV2.ino:59:0:

C:\Users\RICARD~1\AppData\Local\Temp\arduino_build_894583\sketch\FlowSerialRead.h:71:8: note: declared here

String FlowSerialReadStringUntil(char terminator) {

^

Utilizando a biblioteca EEPROM com a versão 2.0 na pasta: C:\Program Files (x86)\SimHub_Addons\Arduino\ArduinoIDE\arduino-1.6.13\hardware\arduino\avr\libraries\EEPROM
Utilizando a biblioteca SPI com a versão 1.0 na pasta: C:\Program Files (x86)\SimHub_Addons\Arduino\ArduinoIDE\arduino-1.6.13\hardware\arduino\avr\libraries\SPI
Utilizando a biblioteca Wire com a versão 1.0 na pasta: C:\Program Files (x86)\SimHub_Addons\Arduino\ArduinoIDE\arduino-1.6.13\hardware\arduino\avr\libraries\Wire
exit status 1
expected initializer before 'void'

The error is probably in one of the lines before "void Command_Hello()". I'm guessing you forgot a curly brace somewhere...

Post your complete sketch (in between code tags) so we can have a look.

@arttm

You may have bypassed one of the following links on the way in. Please take a few moments to follow them.

Please take a few moments to Learn How To Use The Forum.

Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.