scanlime / arduino-lelo-remote Goto Github PK
View Code? Open in Web Editor NEWArduino library for remote-control Lelo vibrators
Arduino library for remote-control Lelo vibrators
So, I'm sure this project is long out of mind, but since I've decided to build a copy of this remote (with a few upgrades, including an IRC-bot that forwards commands through the serial port), I figured I'd report an error.
As of gcc-avr version 4.7.1 (according to this post at least), LeloRemote.cpp no longer compiles, cmoplaining of several errors:
In file included from /usr/share/arduino/hardware/arduino/cores/arduino/Arduino.h:8:0, from /usr/share/arduino/libraries/SPI/SPI.h:15, from /home/xxx/sketchbook/libraries/LeloRemote/LeloRemote.cpp:8: /home/xxx/sketchbook/libraries/LeloRemote/LeloRemote.cpp: In member function ‘void LeloRemote::reset()’: /home/xxx/sketchbook/libraries/LeloRemote/LeloRemote.cpp:61:30: error: variable ‘init’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’ static prog_uchar init[] PROGMEM = { ^
I'm not sure if it's the correct fix, but replacing line 61 of LeloRemote.cpp
static prog_uchar init[] PROGMEM = {
with
prog_uchar init[] PROGMEM = {
and again removing static
on lines 114 and 129 allows it to compile.
Thank you for sharing a very fun project. :)
Hello,
I found this project, and I think that is awesome.-
I'm using Arduino Leonardo, everythink compile well but doesn't work.
I bought the RF that you post on your blog.
Can anyone help me, please?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.