Comments (8)
Hi Daniel,
Are you the same Daniel that recently wrote me (from uni-weimar)>
Anyway, eclipse is definitely not a must.
Controlino is a single file, so you can easily open it with the normal
Arduino editor, and use it to compile and upload Controlino to your arduino
device.
It would be good if you look a bit in the Controlino code, at least in its
beginning.
There is a list of definitions you should set before compiling, such as
which Arduino board you're using, which libraries you want to use etc.
If you want to use the PID library, for example, you need to have it
"installed" in the appropriate place, so the "#include" statement will find
it.
If you're still not successful doing it this way, please let me know, with
the error you get from the normal Arduino editor/loader.
Good luck,
Joel
from instrumentino.
I am no longer using this account.
Please change my email address and resend your message to [email protected]
from instrumentino.
Update 2: See my comment below which fixed my issue.
Update 1: After looking around I believe "SoftwareSerial" is an arduino supported library. I'll see if I can get it to work...
I'm having a similar issue. I'm using "sketch" to compile + load the controlino.cpp file onto my arduino uno and it's unable to load the libraries (SoftwareSerial is the one I'm using).
sketch uses serveral things to load libraries, but for .cpp it appears I need both the SoftwareSerial.cpp file and the SoftwareSerial.h file, otherwise the #include "SoftwareSerial.h" line fails inside sketch.
If you're not using sketch or want to test/see what I'm doing, here's the sketch library loading documentation: http://arduino.cc/en/guide/libraries
Can you include the .h/.cpp files for the controlino libraries or list the source location/software you're using for them?
from instrumentino.
from instrumentino.
I found out why I was having issues. Possibly old software, probably how I loaded the file into sketch.
- I was running a fairly old version of what they now call "Arduino Editor", which was called "sketch" at one time. I upgraded to Arduino Editor 1.62 (the latest)
- To do that upgrade, I had to go from java 7.x (open source) to 8 (oracle). Lots of issues on the Arduino Editor forums about startup issues and using java 1.8 is the "fix".
- As suggested above, but I really didn't pick it out when I first read it, is how you need to load controlino.cpp into the Arduino Editor. What didn't work for me was to include it via the "add file" option. It will load, but will not compile (it cannot find SoftwareSerial.h). What did work was to make a copy of controlino.cpp and call this copy controlino.ino, put this in your sketchbook directory (for ease of the next step), then load it directly via file -> sketchbook-> controlino
After that it compiles and I loaded it into the Arduino.
from instrumentino.
Hi Snarfums,
So, do I understand your issue is resolved?
Sorry for taking so long, I've been away last week.
On Mon, Mar 30, 2015 at 12:46 AM, Snarfums [email protected] wrote:
I found out why I was having issues. Possibly old software, probably how I
loaded the file into sketch.
- I was running a fairly old version of what they now call "Arduino
Editor", which was called "sketch" at one time. I upgraded to Arduino
Editor 1.62 (the latest)- To do that upgrade, I had to go from java 7.x (open source) to 8
(oracle). Lots of issues on the Arduino Editor forums about startup issues
and using java 1.8 is the "fix".- As suggested above, but I really didn't pick it out when I first read
it, is how you need to load controlino.cpp into the Arduino Editor. What
didn't work for me was to include it via the "add file" option. It will
load, but will not compile (it cannot find SoftwareSerial.h). What did
work was to make a copy of controlino.cpp and call this copy
controlino.ino, put this in your sketchbook directory (for ease of the next
step), then load it directly via file -> sketchbook-> controlinoAfter that it compiles and I loaded it into the Arduino.
—
Reply to this email directly or view it on GitHub
#5 (comment).
from instrumentino.
Yes: Issue resolved! I figured I'd post all the details in case anyone else ran into similar issues/questions.
from instrumentino.
from instrumentino.
Related Issues (20)
- V2 Advanced graphing abilities
- V2 support more means of communication with controllers (other than USB)
- V2 Controlino for RedPitaya
- V2 How should we structure the folder tree in the project?
- V2 Visual Instrument builder
- instrumentino-1.0-py2.7.egg not in Download Package HOT 2
- V2 idea for action classes
- V2 actions are unnecessarily selected when the dropdown menu is changed
- arduino does not respond HOT 5
- V2 rewrite the controlino_v2 protocol to use XML HOT 2
- V2 performance issues with high-rate data acquisition
- V2 Use pandas for keeping acquired data
- Using with Python 3.4 HOT 4
- HardwareSerial conflicting declaration HOT 2
- Update code to work with construct 2.8
- Save data and Y axis HOT 1
- example runs slows down and hang on raspberry pi HOT 2
- how to use instrumentino? HOT 1
- Compatibility with OneWire library? HOT 3
- setup via pip breaks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instrumentino.