LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

arduino interface with labview: not able to upload lvifa base file

guys, you have to really help me out on this one i have been at it for days. i am new to this so please help me out. i have an arduino uno with atmega8 on it and i m trying to interface it with labview but everytime i tried to upload the lvifa base file it shows and error, and it reads "XYZ is not declared in this scope".

AFMotor.cpp: In function 'void initPWM1(uint8_t)':
AFMotor.cpp:87: error: 'TCCR2A' was not declared in this scope
AFMotor.cpp:87: error: 'COM2A1' was not declared in this scope
AFMotor.cpp:88: error: 'TCCR2B' was not declared in this scope
AFMotor.cpp:89: error: 'OCR2A' was not declared in this scope
AFMotor.cpp: In function 'void setPWM1(uint8_t)':
AFMotor.cpp:108: error: 'OCR2A' was not declared in this scope
AFMotor.cpp: In function 'void initPWM2(uint8_t)':
AFMotor.cpp:124: error: 'TCCR2A' was not declared in this scope
AFMotor.cpp:124: error: 'COM2B1' was not declared in this scope
AFMotor.cpp:125: error: 'TCCR2B' was not declared in this scope
AFMotor.cpp:126: error: 'OCR2B' was not declared in this scope
AFMotor.cpp: In function 'void setPWM2(uint8_t)':
AFMotor.cpp:146: error: 'OCR2B' was not declared in this scope
AFMotor.cpp: In function 'void initPWM3(uint8_t)':
AFMotor.cpp:162: error: 'TCCR0A' was not declared in this scope
AFMotor.cpp:162: error: 'COM0A1' was not declared in this scope
AFMotor.cpp:162: error: 'WGM00' was not declared in this scope
AFMotor.cpp:162: error: 'WGM01' was not declared in this scope
AFMotor.cpp:164: error: 'OCR0A' was not declared in this scope
AFMotor.cpp: In function 'void setPWM3(uint8_t)':
AFMotor.cpp:184: error: 'OCR0A' was not declared in this scope
AFMotor.cpp: In function 'void initPWM4(uint8_t)':
AFMotor.cpp:202: error: 'TCCR0A' was not declared in this scope
AFMotor.cpp:202: error: 'COM0B1' was not declared in this scope
AFMotor.cpp:202: error: 'WGM00' was not declared in this scope
AFMotor.cpp:202: error: 'WGM01' was not declared in this scope
AFMotor.cpp:204: error: 'OCR0B' was not declared in this scope
AFMotor.cpp: In function 'void setPWM4(uint8_t)':
AFMotor.cpp:224: error: 'OCR0B' was not declared in this scope

I tried different arduino IDE versions as well, it not working out.

Thanks!

0 Kudos
Message 1 of 2
(2,610 Views)