http://www.picbasic.co.uk/forum/show...57&postcount=6
Also, you have a free USART in your PIC, you should use it. HSEROUT, HSERIN instead. But you have to use the dedicated pins PORTB.2 and PORTB.5
http://www.picbasic.co.uk/forum/show...57&postcount=6
Also, you have a free USART in your PIC, you should use it. HSEROUT, HSERIN instead. But you have to use the dedicated pins PORTB.2 and PORTB.5
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Yes I've just never used the hardware one before, and never had problems with the serial one before, and I have all the analog side switched off, and it wont even work on purely portbOriginally Posted by mister_e
I'm going to drag out the scope later and see just whats going in, no reason exists for it not to work, except voltage, so its annoying me now!
if the damn thing had worked like I guessed it would(!) I would be sat back woth a working toy now!
Originally Posted by mister_e
lol
I really do have code blindness.........
I owe you a great thankyou, or apology for disbelief, but even though I had included lines to switch off the analog stuff I had one with a little mistake in it, and I had looked at it at least a 100 times as I scrolled down to where I thought the fault was................
The 'thing' now works a treat, and I have real data going back in on porta, now to shift it to port b......
(edit)
I have moved the code to port b, and it now works, which explains nothing, as even with analog enabled on port A, port B should work just the same! agh!
Last edited by f_lez; - 21st August 2006 at 14:05.
Bookmarks