Reciever:
After adding the newest vesc uart library, i get this error. If anybody can explain, please to do so. Trying to add libraries to this is a mess and it would be nice if the libraries were included automatically so it would actually compile instead of wasting hours debugging into a corner.
C:\Users\huffa\OneDrive\Documents\Arduino\nRF24-Esk8-Remote-master\nRF24-Esk8-Remote-master\receiver\receiver.ino:23:20: error: aggregate 'bldcMeasure measuredValues' has incomplete type and cannot be defined
struct bldcMeasure measuredValues;
^~~~~~~~~~~~~~
C:\Users\huffa\OneDrive\Documents\Arduino\nRF24-Esk8-Remote-master\nRF24-Esk8-Remote-master\receiver\receiver.ino: In function 'void setup()':
C:\Users\huffa\OneDrive\Documents\Arduino\nRF24-Esk8-Remote-master\nRF24-Esk8-Remote-master\receiver\receiver.ino:29:3: error: 'SERIALIO' was not declared in this scope
SERIALIO.begin(115200);
^~~~~~~~
C:\Users\huffa\OneDrive\Documents\Arduino\nRF24-Esk8-Remote-master\nRF24-Esk8-Remote-master\receiver\receiver.ino:29:3: note: suggested alternative: 'SERIAL'
SERIALIO.begin(115200);
^~~~~~~~
SERIAL
C:\Users\huffa\OneDrive\Documents\Arduino\nRF24-Esk8-Remote-master\nRF24-Esk8-Remote-master\receiver\receiver.ino: In function 'void getVescData()':
C:\Users\huffa\OneDrive\Documents\Arduino\nRF24-Esk8-Remote-master\nRF24-Esk8-Remote-master\receiver\receiver.ino:81:9: error: 'VescUartGetValue' was not declared in this scope
if (VescUartGetValue(measuredValues)) {
^~~~~~~~~~~~~~~~
C:\Users\huffa\OneDrive\Documents\Arduino\nRF24-Esk8-Remote-master\nRF24-Esk8-Remote-master\receiver\receiver.ino:81:9: note: suggested alternative: 'VescUart'
if (VescUartGetValue(measuredValues)) {
^~~~~~~~~~~~~~~~
VescUart
exit status 1
Compilation error: aggregate 'bldcMeasure measuredValues' has incomplete type and cannot be defined
Transmitter:
It wont compile due to not recognizing EEPROM.h lol. I dont even know what to think of this.
C:\Users\huffa\OneDrive\Documents\Arduino\nRF24-Esk8-Remote-master\nRF24-Esk8-Remote-master\transmitter\transmitter.ino:4:10: fatal error: EEPROM.h: No such file or directory
#include <EEPROM.h>
^~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: EEPROM.h: No such file or directory
Reciever:
After adding the newest vesc uart library, i get this error. If anybody can explain, please to do so. Trying to add libraries to this is a mess and it would be nice if the libraries were included automatically so it would actually compile instead of wasting hours debugging into a corner.
C:\Users\huffa\OneDrive\Documents\Arduino\nRF24-Esk8-Remote-master\nRF24-Esk8-Remote-master\receiver\receiver.ino:23:20: error: aggregate 'bldcMeasure measuredValues' has incomplete type and cannot be defined
struct bldcMeasure measuredValues;
^~~~~~~~~~~~~~
C:\Users\huffa\OneDrive\Documents\Arduino\nRF24-Esk8-Remote-master\nRF24-Esk8-Remote-master\receiver\receiver.ino: In function 'void setup()':
C:\Users\huffa\OneDrive\Documents\Arduino\nRF24-Esk8-Remote-master\nRF24-Esk8-Remote-master\receiver\receiver.ino:29:3: error: 'SERIALIO' was not declared in this scope
SERIALIO.begin(115200);
^~~~~~~~
C:\Users\huffa\OneDrive\Documents\Arduino\nRF24-Esk8-Remote-master\nRF24-Esk8-Remote-master\receiver\receiver.ino:29:3: note: suggested alternative: 'SERIAL'
SERIALIO.begin(115200);
^~~~~~~~
SERIAL
C:\Users\huffa\OneDrive\Documents\Arduino\nRF24-Esk8-Remote-master\nRF24-Esk8-Remote-master\receiver\receiver.ino: In function 'void getVescData()':
C:\Users\huffa\OneDrive\Documents\Arduino\nRF24-Esk8-Remote-master\nRF24-Esk8-Remote-master\receiver\receiver.ino:81:9: error: 'VescUartGetValue' was not declared in this scope
if (VescUartGetValue(measuredValues)) {
^~~~~~~~~~~~~~~~
C:\Users\huffa\OneDrive\Documents\Arduino\nRF24-Esk8-Remote-master\nRF24-Esk8-Remote-master\receiver\receiver.ino:81:9: note: suggested alternative: 'VescUart'
if (VescUartGetValue(measuredValues)) {
^~~~~~~~~~~~~~~~
VescUart
exit status 1
Compilation error: aggregate 'bldcMeasure measuredValues' has incomplete type and cannot be defined
Transmitter:
It wont compile due to not recognizing EEPROM.h lol. I dont even know what to think of this.
C:\Users\huffa\OneDrive\Documents\Arduino\nRF24-Esk8-Remote-master\nRF24-Esk8-Remote-master\transmitter\transmitter.ino:4:10: fatal error: EEPROM.h: No such file or directory
#include <EEPROM.h>
^~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: EEPROM.h: No such file or directory