Re: pic16f88 Serial questions (hserin/hserout, etc.)
Check this thread:http://www.picbasic.co.uk/forum/cont...rial-backpacks
PBP does not natively import strings like C does and arduino uses C more or less. In the backpack code hserin is used to load an array and then the array is outputted to an LCD. It is set up to use DTs interrupts and works well.
edit:
as I UNDERSTAND ARDUINO: the serial data sent out is inverted, and I don't see a way in code to make it send true. You could use an NPN transistor to invert it back to true, or use debug as I did in my program for switching relays. Or us a another PIC instead of the Arduino. Or use a pic(if one exists) which allows inverted on the usart ( I vaguely remember getting beaten up over this once ;P)
Last edited by Archangel; - 28th October 2012 at 06:56.
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.
Bookmarks