Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on compilation of Reciever and Transmitter #52

Open
ghost opened this issue Sep 13, 2023 · 0 comments
Open

Error on compilation of Reciever and Transmitter #52

ghost opened this issue Sep 13, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 13, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants