I work on a project where i use PICAXE 20 X 2
I need to specify input & output on easy way
B port all the time use for 8 bit output together
C.4 - C.7 is use for input
C.1 - C.2 Is input from a PC keyboard for feature use
C.0 is output as a clock to tell the system that there is date from PORT B from (0 to 500 time pr. min)
picaxe 20 x 2 all time connected to a PC on serial port
the my Question
1. how do i setup port C
2. how do i read C.4-C.7 in to variable(B22) Easy and fast read 50 a sec
I need to specify input & output on easy way
B port all the time use for 8 bit output together
C.4 - C.7 is use for input
C.1 - C.2 Is input from a PC keyboard for feature use
C.0 is output as a clock to tell the system that there is date from PORT B from (0 to 500 time pr. min)
picaxe 20 x 2 all time connected to a PC on serial port
the my Question
1. how do i setup port C
2. how do i read C.4-C.7 in to variable(B22) Easy and fast read 50 a sec
Attachments
-
57.5 KB Views: 25