LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing library for sketch - JUAMI.org potentiotat project

Hi i cannot run this code on arduino uno 3. I am getting error that libraries <LinxArduinoUno.h> AND <LinxSerialListener.h> are missing.
Code is from project JUAMI Potentiostat, link: https://pubs.acs.org/doi/suppl/10.1021/acs.jchemed.8b00340/suppl_file/ed8b00340_si_002.pdf
```

#include <SPI.h>
#include <Wire.h>
#include <EEPROM.h>
#include <Servo.h>
#include <LinxArduinoUno.h>
#include <LinxSerialListener.h>
LinxArduinoUno* LinxDevice;
void setup()
{
LinxDevice = new LinxArduinoUno();
LinxSerialConnection.Start(LinxDevice, 0);
TCCR1B =B00000001;
}
void loop()
{
LinxSerialConnection.CheckForCommands();
}



the error is this:

 

QBN: arduino:avr:uno
Using board 'uno' from platform in folder: C:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Using core 'arduino' from platform in folder: C:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6

Detecting libraries used...
C:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard C:\Users\Lukas\AppData\Local\Temp\arduino\sketches\72212D03D9AFAD5D88DCFBB5A11D55C7\sketch\Blink.ino.cpp -o nul
Alternatives for SPI.h: [SPI@1.0]
ResolveLibrary(SPI.h)
-> candidates: [SPI@1.0]
C:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src C:\Users\Lukas\AppData\Local\Temp\arduino\sketches\72212D03D9AFAD5D88DCFBB5A11D55C7\sketch\Blink.ino.cpp -o nul
Alternatives for Wire.h: [Wire@1.0]
ResolveLibrary(Wire.h)
-> candidates: [Wire@1.0]
C:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src C:\Users\Lukas\AppData\Local\Temp\arduino\sketches\72212D03D9AFAD5D88DCFBB5A11D55C7\sketch\Blink.ino.cpp -o nul
Alternatives for EEPROM.h: [EEPROM@2.0]
ResolveLibrary(EEPROM.h)
-> candidates: [EEPROM@2.0]
C:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\EEPROM\src C:\Users\Lukas\AppData\Local\Temp\arduino\sketches\72212D03D9AFAD5D88DCFBB5A11D55C7\sketch\Blink.ino.cpp -o nul
Alternatives for Servo.h: [Servo@1.2.1]
ResolveLibrary(Servo.h)
-> candidates: [Servo@1.2.1]
C:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\EEPROM\src -IC:\Users\Lukas\AppData\Local\Arduino15\libraries\Servo\src C:\Users\Lukas\AppData\Local\Temp\arduino\sketches\72212D03D9AFAD5D88DCFBB5A11D55C7\sketch\Blink.ino.cpp -o nul
Alternatives for LinxArduinoUno.h: []
ResolveLibrary(LinxArduinoUno.h)
-> candidates: []
C:\Users\Lukas\AppData\Local\Temp\.arduinoIDE-unsaved202456-23176-3obyra.rtbq2\Blink\Blink.ino:5:10: fatal error: LinxArduinoUno.h: No such file or directory
#include <LinxArduinoUno.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1

 

my sketch is including two files (LinxSerialListener.h and LinxArduinoUno.h), but i dont have library with them. I found the files in this repository,: https://github.com/MakerHub/LINX/blob/main/LabVIEW/vi.lib/MakerHub/LINX/Firmware/Source/core/listene... https://github.com/MakerHub/LINX/blob/main/LabVIEW/vi.lib/MakerHub/LINX/Firmware/Source/core/device/... is it possible to install library from that repository? I have arduino uno 3. In Arduino IDE's library manager i didnt find any library with this files.

0 Kudos
Message 1 of 2
(194 Views)
0 Kudos
Message 2 of 2
(175 Views)