I did this a little while ago because I was trying to help @772pilot use my soft PWM library with LightSaberOS and I don't have Eclipse installed. To make it compile with Arduino IDE 1.6.6 and later you only need to change the filename of Lightsaber.ino to match the folder name and move(not copy!) the libraries to the libraries folder in your sketchbook folder. I just posted it on GitHub in case it might be of interest to anyone. The changes I made are shown at: https://github.com/per1234/LightSaberOS/commit/0a13827be9096ade53728921bb7489aebea63f7fSo to use it:Download https://github.com/per1234/LightSaberOS/archive/arduino-IDE-support.zipUnzip LightSaberOS-arduino-IDE-support.zipRename the folder LightSaberOS-arduino-IDE-support to LightSaberOSOpen LightSaberOS.ino with the Arduino IDEI changed the library include paths so that you don't need to do any extra steps to install the libraries but that's not necessary, it just makes installation easier and avoids any conflicts with previously installed libraries. I think if you're going to make an Arduino project available to the public it's only common sense to make it compatible with the Arduino IDE. I agree that this will make LightSaberOS more accessible. I don't own a light saber so I can't test this on the hardware but it does compile with Arduino IDE 1.6.6, 1.6.7, 1.6.8, and the hourly build. I haven't tested if this breaks Eclipse compatibility but I don't see any reason why it would. The Eclipse installation process would be different(more simple) since the libraries don't need to be installed.I'm happy to add Arduino IDE install instructions to the readme and submit a pull request for this change to the LightSaberOS repository if neskweek wants me to.
I did this a little while ago because I was trying to help @772pilot use my soft PWM library with LightSaberOS and I don't have Eclipse installed. To make it compile with Arduino IDE 1.6.6 and later you only need to change the filename of Lightsaber.ino to match the folder name and move(not copy!) the libraries to the libraries folder in your sketchbook folder. I just posted it on GitHub in case it might be of interest to anyone. The changes I made are shown at: https://github.com/per1234/LightSaberOS/commit/0a13827be9096ade53728921bb7489aebea63f7f
#if ARDUINO > 10605#include "Libraries/DFPlayer.h"#else#include <DFPlayer.h>#endif
Any one wire this up with a pro mini? Looking at the nano wiring diagram it seems odd because when I look at an online nano pin out the seem off. I thought I had it converted over but I guess no as my IMU doesn't initialize nor dfplayer
I was able to compile with all Arduino IDE versions from 1.6.0-1.6.8 and the hourly build except for 1.6.4 which hung on compilation. This is a known issue with 1.6.4(not a LightSaberOS specific problem) and your results may vary. I didn't test Arduino IDE 1.5.x. LightSaberOS still doesn't compile with Arduino IDE 1.0.6, this could probably be fixed but I don't know how many people are still using the 1.0.x versions. As before, I haven't tested on hardware or with Eclipse.I'm open to any feedback on these changes and am happy to submit a pull request.
Pert, I indepted to you! It even compiles on 1.6.4 which I have! Simply excellent, now finally I can use LSOS v1.0!!! I still want to use Eclipse too, but now I'm not in a hurry any more.
I haven't tried it myself, but it would be strange if it worked on a Nano but not a 5V pro mini since the pro mini is basically the Nano minus the FTDI chip for USB programming.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16