Send Data to Arduino

Discuss Control Systems here
Post Reply
ivanncam
Posts: 1
Joined: Sun Jun 29, 2014 7:03 pm

Send Data to Arduino

Post by ivanncam »

Hello, Im victor


I need help, I'm trying to send an array of data of a xbox controller but I don't know how to do it
The array contains just floats

I will use this to control some motors using PWM in arduino

In flowstone, I have use the Xbox360 Block and then a Ruby box to make the Array.

then I know I have to send the array to the Com Port block. This is the problem! I don't know how to do it

Is posible to send an Array like I want?

Is there another way to do this?

This is the proyect.
Image
Image
Can you help me?
Attachments
controller (recovered).fsm
I need help
(36.6 KiB) Downloaded 3527 times
User avatar
JB_AU
Posts: 171
Joined: Tue May 21, 2013 11:01 pm

Re: Send Data to Arduino

Post by JB_AU »

Floats are big numbers, i couldn't see the sense in over complicating with ruby, that's just me.
If you look up flowbluino on arduino.cc there is a pdf that documents some of these things, to make things easier.
Attachments
controller (ruby free).fsm
(36.52 KiB) Downloaded 3543 times
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

Albert Einstein
Post Reply