Pages: [1]   Go Down
Author Topic: using processing to turn LED on/off  (Read 543 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 56
im learning!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

HEY guys. i am using the wiring board at moment, but problem is, u get no support on the wiring forum. this forum is excellent and everyone is so helpful so i hope its ok to post here.

Hi all, this may seem like a stupid question but i am just starting out.

i have processing and wiring, and a wiring board. i want to use processing to control LED's on my wiring board. i want to make a processing interface (two buttons, On and Off) to turn an LED on/off on the wiring board.

but now i have no idea the process to do this. could some one please provide me with a solution. i would like to know how to go from: Processing > to > Wiring > to > Wiring board

once i know this i think i will be able to do it again. but right now i have no idea how to start.

Could someone please help out in simple steps if possible. Thanks guys
« Last Edit: March 10, 2006, 10:34:20 am by mitcho » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 41
I love YaBB 1G - SP1!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

is there any real reason you want to use processing? as the wiring board could do all this by itself.

theres a tutorial on the wiring website that will do something like this.

http://www.wiring.org.co/learning/examples/led_switch.html


hope this helps, if not, and you do want to use processing, then i'll point you in the direction of some of the tutorials that you can cut and paste together to do what you need.

cheers,

bod.
« Last Edit: March 10, 2006, 01:59:42 pm by bod » Logged

Britanny
Offline Offline
Full Member
***
Karma: 0
Posts: 233
Mais vrai, j'ai trop pleuré, toute lune est atroce
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

and suppose you have to use a  Serial.begin( baudrate);  and
- serialWrite() (wiring to processing) ....
- serialRead() (processing to wiring)...

:-[
hope this help.
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 56
im learning!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks guys, got it all working now! thanks so much for all ur help!
Logged

Pages: [1]   Go Up
Jump to: