Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/23/05 11:55
Read: times


 
Msg Score: -1
 -1 Gimmee Code
#88205 - DIP switch with MCU
Dear all,

I am interfacing a DIP Switch ( has 4 serial switch ) to a MCU P0.0 to P0.1..
I want produce a sequence using the Switch as below:
Sequence 1 - 0 0 0 1
2 - 0 0 1 0
3 - 0 1 0 0
4 - 1 0 0 0
Upon receiving each sequence i would like to display the sequence no at LCD
How can i test the sequence is which ? Bit test?
Can anyone help me with the program?
Thanks

List of 6 messages in thread
TopicAuthorDate
DIP switch with MCU            01/01/70 00:00      
   serial switch ??            01/01/70 00:00      
   that's interesting            01/01/70 00:00      
      Philips            01/01/70 00:00      
         Pin-Saver DIP Switch: Dallas DS2408            01/01/70 00:00      
            DS2408 need switch as well            01/01/70 00:00      

Back to Subject List