Timeout parameter with SERIN
Hi
Is it possible to use SERIN with a word variable for the Timeout parameter?
I've tried to do that with the SX48, but it seems that the compiler·doesn't set the internal parameters __PARAM1 and __PARAM2.
I'm using the SXB Ver. 1.51.03.
Thank you.
Is it possible to use SERIN with a word variable for the Timeout parameter?
I've tried to do that with the SX48, but it seems that the compiler·doesn't set the internal parameters __PARAM1 and __PARAM2.
I'm using the SXB Ver. 1.51.03.
Thank you.
Comments
Somthing like this:
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
Stuff I'm selling on ebay http://search.ebay.com/_W0QQsassZhittconsultingQQhtZ-1
"USA Today has come out with a new survey - apparently, three out of every four people make up 75% of the population." - David Letterman
I was confused by the online help which says: "Timeout is an optional byte or word variable/constant...".
I will try to put SERIN inside a loop, hoping that this way I will not miss any character.
Paolo
Your right. It should allow a word variable, but it doesn't. I will fix that in the next release.
Note that you CAN use a word constant for the timeout.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
Stuff I'm selling on ebay http://search.ebay.com/_W0QQsassZhittconsultingQQhtZ-1
"USA Today has come out with a new survey - apparently, three out of every four people make up 75% of the population." - David Letterman
Thank you.