AMcTools Forum 
  HomeHelpSearchLogin  
 
Pages: 1
Send Topic Print
Rotary BCD switch (Read 5320 times)
justinlove
YaBB Newbies
*
Offline

I love YaBB 1G -
SP1!

Posts: 12

Rotary BCD switch
12/04/09 at 21:01:12
 
Rotating switch which decodes 0-9 (radio buttons) into a 4-bit value.

Also includes a second component that may be specific to our project; it tried to use the switch backwards to activate a single bit at a specific address value.

Xbcd0 _rotarybcd(1) ad00 ad01 ad02 ad03
Xbcd1 _rotarybcd(0) ad10 ad11 ad12 ad13
Xbcd2 _rotarybcd_d2c(0 1 0) ad2s0 ad2s1 ad2s2 ad2s3 ad2in
Back to top
 
  IP Logged
Pages: 1
Send Topic Print