thanks for the reply that was exactly what i was looking for. I am basing my code off of this post http://www.picbasic.co.uk/forum/show...2&postcount=11. thanks again
thanks for the reply that was exactly what i was looking for. I am basing my code off of this post http://www.picbasic.co.uk/forum/show...2&postcount=11. thanks again
Would you happen to know how the offset works as mentioned in the previous post? I ran in to some problems with that block of code and think it has to do with finding and setting the offsets of the pins. I am working with a pic18f24k20 if that makes a difference.
I am not familiar with the pic18f24k20 nor does my version of PBP support it.
Perhaps someone else knows the order of the ports for this PIC. I could not readily put my hands on the datasheet - it would not download from microchip for me?
Paul Borgmeier
Salt Lake City, UT
USA
__________________
Bruce's thread might help with that.
Indexing Port Pins
http://www.picbasic.co.uk/forum/showthread.php?t=3753
Depending on what you're doing, you might have better luck with post #14 in the thread Paul mentioned.
http://www.picbasic.co.uk/forum/show...2039#post22039
DT
thanks guys for all your help. i found my problem(s), simple counting error and typo in the code.
Bookmarks