papuht
February 25, 2023, 9:35am
#1
Hello,
I’ve Grove EMG detector & Base Shield connected to Arduino Mega, and I tried uploading the demo code from What is EMG sensor, Myoware and How to use with Arduino? - Latest Open Tech From Seeed
but when I try to upload it tells me that LED_bar.h can’t be found. I’m somewhat familiar with C/C++, so I understand that this is because the file can’t be found, but where should I get it and where should it be put so that I can get this to work?
You have to download and install the led bar.h library. You can download it from here:
/*
LED bar library V1.0
2010 Copyright (c) Seeed Technology Inc. All right reserved.
Original Author: LG
Modify: Loovee, 2014-2-26
User can choose which Io to be used.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
This file has been truncated. show original
By the way, if you ever wish to make an EMG amplifier by yourself, you can see this design: