Home \ Help \ Search \ Login RSS

Welcome, Guest. Please Login

This forum is now READ-ONLY! Please visit http://forum.wiring.co/ for the new forum.

Wiring ForumWiring HardwareTangible computing › Flash to serial probs with serialnetinterface

Page Index Toggle Pages: 1
Flash to serial probs with serialnetinterface (Read 3484 times)
04/03/06 at 15:35:32

kidfunctional   Offline
YaBB Newbies

Posts: 1
*
 
Hi all

Have been working on a project in Flash to control an external lighting control board using serialnetinterface, but have come across a problem that I hope someone will be able to help me with.

The board requires specific strings to be sent in the format #0016006387: (example turns on led 1) but when I send the string through to the serialnetinterface and check the serial traffic the string is sent as a number of single character messages rather than one long string. I am using the code supplied at http://people.interaction-ivrea.it/h.barragan/flashserialinterface.html

This whole area is new to me, so please go gentle on me if it's something blindingly obvious.

Thanks in advance!
 
IP Logged
 
Reply #1 - 03/13/07 at 09:02:51

MarkvdBos   Offline
YaBB Newbies
I love Electronic Media
Art
Delft, the Netherlands

Posts: 2
*
 
A string is made out of seperate characters with a special character at the end.
This special charater is a ascii# 0.
It's perfectly normal for a string to be send as a sequence of chars.
If you connect a program like hyperterminal to your serialport you should be able to see that it is forming a normal stringlike sequence.

I hope this helps you out.
 
IP Logged
 
Page Index Toggle Pages: 1