All 20 of the CGMMSTICK1 lines can be controlled for testing. |
CGMMSTICK1 button input. |
A simple button input for the CGMMSTICK1 would use a 10 kilo ohm resistor to pull the input line (in this case MMBasic pin 20) high, then the button press would short the line low.
Testing the input. |
With the right pin set to “Digital Input” both states of the button can be tested using MMIDE to do the work. In the picture above the red square and value of 1 indicate that the button is not pushed – the resistor is pulling the input line high.
Purchase a CGMMSTICK1
Download of Maximite Integrated Development Environment: MMIDE
No comments:
Post a Comment