7:26 am
November 5, 2020
I am using LabVIEW2014 32bit version and arduino 1.6.9 IDE. When I following the user manual to porting out API from Third part library not success. can anyone tell me what's the wrong operation with me?
I put demo vi in attachment and place in Example. also I put pwm library together.
generate arduino code like this and miss the key funciton: pwmWrite(uint8_t pin, uint8_t val);
#include "LVArray.h"
#include "A4Lhelper.h"
#define __AVR_ATmega2560__
#include <PWM.h>
#include "HBS57_LV.h"
void setup()
{
unsigned char Const438;
unsigned char Const413;
Const438 = 255;
Const413 = 0;
pwmWrite(uint8_t pin, uint8_t val); ---here miss the function.
}
void loop()
{
}
2:34 am
November 5, 2020
Steffan said
Check your spelling in your translator case structure. You have spelled "lvlib" incorrectly. It is "lvib" in all case structures. Also the MO Open case doesn't have the correct name. It is "HBS57_LV.lvib_LV:M0 Open" but should be "HBS57_LV.lvlib:M0 Open".
thanks very much. it works.
Steffan said
Check your spelling in your translator case structure. You have spelled "lvlib" incorrectly. It is "lvib" in all case structures. Also the MO Open case doesn't have the correct name. It is "HBS57_LV.lvib_LV:M0 Open" but should be "HBS57_LV.lvlib:M0 Open".
30
1 Guest(s)