-
Orca Whisperer
Port B display C code...
switch(banksel) {
case 0: portb = 0x7e; break;
case 1: portb = 0x30; break;
case 2: portb = 0x6d; break;
case 3: portb = 0x79; break;
case 4: portb = 0x33; break;
case 5: portb = 0x5b; break;
case 6: portb = 0x5f; break;
case 7: portb = 0x70; break;
case 8: portb = 0x7f; break;
case 9: portb = 0x7b; break;
default: break;
}
depending of pull up or pull down logic is used, may need to invert the numbers.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules