Porta.0[14,20 or 26] is supposed to be an undeclared array and since the PORTS are located sequentially in memory PicBasic Pro takes the value in brackets and treats it as an offset from porta.0 so
porta.0[1] is porta.1
porta.0[8] is portb.0
The problem with using loops and select case is that my code will start to get really long and nasty looking.






Bookmarks