This is working in Pic Basic:
For MyVar=0 to 15
MyBit=MyWord.0(MyVar)
LCDOut $FE,1,"Bit ",#MyVar,"=",MyBit
Pause 2000
Next MyVar
But I can not get to work in Pic Basic Pro
I need to read/write some bits from/to a word variable and this method was very useful.
Any ideas?
Many thanks,
Ricard.


Reply With Quote

Bookmarks