Pages: [1]   Go Down
Author Topic: When the arduino's not plugged in (Processing)  (Read 370 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've got a Processing program that takes input from a bulky control box, run through an Arduino. I've currently got it set up to interface with an Arduino object through Firmata, and it's expecting (mainly) to be able to use analogRead and digitalRead to get input from a bank of sliders and buttons and things. It really shouldn't rely on having an arduino plugged in the whole time, though - I'd like to be able to work on it while the control box is stashed away, and it would be fun if there was an applet version for people to play with on the internet.

I wonder if there's a cunning way to make something like a decoy Arduino object so that the program doesn't fail, regardless? Or should I definitely just be fixing my program to expect something a bit more abstract, which may or may not be inputs from an arduino?
Logged

0
Offline Offline
Tesla Member
***
Karma: 145
Posts: 9636
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Or should I definitely just be fixing my program to expect something a bit more abstract, which may or may not be inputs from an arduino?
That sounds like the most logical way to go.
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Pages: [1]   Go Up
Jump to: