2011_ACTIVITY #4 - DISPLAYING THE POSITION OF A DIAL

2011_ACTIVITY #4 - DISPLAYING THE POSITION OF A DIAL -...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
' What's a Microcontroller - SimpleLookdown.bs2 ' Debug an index using a value and a lookup table. ' ' {$STAMP BS2} ' {$PBASIC 2.5} ' value VAR Byte index VAR Nib i value = 167 v DEBUG ? value D LOOKDOWN value, [7, 85, 19, 167, 28], index L DEBUG ? index, CR D DEBUG "Change the value variable to a ", CR,
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: "different number in this list:", CR, "7, 85, 19, 167, or 28.", CR, CR, "Run the modified program and ", CR, "check to see what number the ", CR, "LOOKDOWN command places in the ", CR, "index variable." END...
View Full Document

This note was uploaded on 01/10/2011 for the course EE 1244 taught by Professor Drera during the Fall '10 term at Conestoga.

Ask a homework question - tutors are online