Or might be because PIN 16 is not a valid pin , funny I have never used PINs always used PortA, PortB etc . . less confusing I guess . . . anyway only 0-15 are valid: SEC. 4.11. PINS
Or might be because PIN 16 is not a valid pin , funny I have never used PINs always used PortA, PortB etc . . less confusing I guess . . . anyway only 0-15 are valid: SEC. 4.11. PINS
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
HenrikOlsson and Joe are saying change your code from
toCode:Serin 16,16780,[WAIT(255),PinNumber,PinState]
Seems to work much better using for example:Code:SERIN2 PORT?.?,16780,[WAIT(255),PinNumber,PinState]
PORTC.3
instead of
PIN?
Dave
Always wear safety glasses while programming.
texas5 -
Please note the information on Bruce's website prior to the code for this example:
That's probably where there is some confusion.Originally Posted by http://www.rentron.com/sending_data.htm
Wisdom is knowing what path to take next... Integrity is taking it.
Ryan Miller
Bookmarks