
Originally Posted by
Travin77
Select case dtmf ' dtmf is the variable that I am comparing the cases to
case "1" 'this says if dtmf = "1" then
portc = %10010111 'do this
case "2"
portc = %10011001
case "3"
portc = %10011011
case "4"
portc = %10011101
case "5"
portc = %10011111
case "6"
portc = %10100001
case "7"
portc = %10100011
case "8"
portc = %10100101
case "9"
portc = %10100111
case "0"
portc = %10101001
end select ' gets you out of the case statement like endif
This is the general gist of it. I too just learned how this thing works.
Travin
Bookmarks