I have a table populated with 254 word-size dwell parameters.
My 16F1827 is generating the proper range of vectors (0 - 254) to get into the table, but it's coming back with nonsense.
Screen capture below:
The left portion of the screen is my table with Serout2 commands to report the two variables inquestion, Measurement and DacDwell, immediately upon exiting the table.
The right portion of the screen capture shows the printout from the two Serout2 commands.
As you can see, the DacDwell parameter slams between $0000 and $061b, when varying the vector variable just slightly.
I'm assuming that a byte variable is adequate for vectoring into the table, since there are only 253 "items". Do I have this correct? In fact changing Measurement to a word variable had no effect.
I know it's probably something stupid I'm doing, but can anyone spot the problem?
![]()
Bookmarks