37. case 34 micropython¶
37.1. Getting Started¶
37.2. Products Link¶
37.3. Project 01: Music Machine¶
Pin Layout¶
- Buzzer: Pin0
- ADKeypad: Pin2
Small note about the ADKeypad¶
The ADKeypad returns an analog signal when its buttons are pressed. Each button pressed would return a unique integer value ranging from 0 (meaning 0V) to 1023 (meaning 3V). However, it is not uncommon that each button would give a small range of values when pressed at different times and different ADKeypads might give different signals yet again. Hence, in this example code, we provide a range of possible values that your ADKeypad’s buttons are likely to return when pressed. Feel free to test out the values that your ADKeypad might return when pressed and change the values in the example code. ^ ^
37.6. Project 04: Simple Alarm Box¶
Pin Layout¶
- Crash Sensor: Pin0
- LED: Pin8
- OLED: I2C row (at the bottom of the BoB)