Go Down

Topic: potentiometer - to flash (Read 529 times) previous topic - next topic

antigirl

Hey Guys,
I have a normal potentiometer working with the arduino board, i can read the default values in the serial monitor.

Now i want flash to read these values, so ive uploaded
Firmata to the arduino board
set up my and ran my serproxy.cfg
I get my socket connected message so im assuming everything is fine,

but i cannot get any readings from the sensor at all.

would it be a connection fault cause one of the actionscripts responds on the connection but nothing on recieving analog input
Code: [Select]
function onReceiveAnalogData(e:ArduinoEvent):void {
     statusText.appendText("Analog pin " + e.pin + " on port: " + e.port +" = " + e.value+"\n");
}

           



antigirl

i got it working, the firmata version with glue doesnt seem to be working.


Go Up