Here is the code to change a number into binary code. Put
it into a button to test.
on mouseUp
ask "enter a Number"
if it = empty or the result = "cancel" then exit to top
put it into theNum
put baseconvert(theNum,10,2) into theConv
ask "Binary number" with theConv
end mo
If you are using it on a Mac which is how I tested it then you will
see the Keyspan and modem options are what you use. The
modem should work as is if you have a internal modem but the
keyspan needs to be changed in the code to represent how it
is seen by your usb driver. Get a list of the usb dr
I could not get the Communicator stack to work as is. So I have been trying to
change it to work. I will look into the scripts you mention.
Thank you
-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net
On Feb 4, 2011, at 11:53 AM, -=>JB wrote:
> There are two types of binary dat
i forgot to answer why would you send it as a binary. Take for
instance the older X10 controller. To send it data to operate
it required you to send it as a binary code which is 0's & 1's
and that may be what your controller is asking for. If it is you
transfer say the number 125 into 3 separate
There are two types of binary data at least on the Mac.
1. Is when you use 0 and 1's which is binary code to
represent the data. For instance you can take these
words or numbers such as 125 and represent them
in binary code which would end up being a bunch of
0's and 1's. In the serial stack I