From f29443cd40f9050beedab3a822b6e0f24fb789cd Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 4 May 2021 02:22:31 +0200 Subject: optimized the LED and buzzer wiring * since we use timer 3 exclusively for the buzzer but trigger the pin using an IRQ handler, there is no longer any need to occupy a high-resolution pin for the buzzer. * PD5 became a new high resolution LED * PD0 became the new buzzer pin * rearranged the pins used for the different LEDs so that the distribution of high-resolution LEDs is symmetric * Timer 0 is no longer used/modified by setting LEDs. This avoids some workarounds as timer 0 is also used by tmk's timer module. * The song routines could be slightly improved using the timer module. * documented the LED and buzzer pinout in README --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 36f36ca..0516060 100644 --- a/README.md +++ b/README.md @@ -113,11 +113,21 @@ Now, solder wires *on the backside* of the PCBs to the following pins of the for ![8212](docs/8212.jpg) -These wires connect to the Teensy in the following order: __FIXME__ +These wires connect to the Teensy in the following order: + +8212 Pin | Teensy Pin +-------- | ---------- +4 | PB5 +6 | PD1 +8 | PB7 +10 | PB4 +15 | PB6 +17 | PD2 +21 | PD3 Desolder the buzzer's 390R resistor and connect the side *facing away* from it to a jumper cable. -It will connect to pin __FIXME__ of the Teensy. +It will connect to pin PD0 of the Teensy. Desolder the IFFS cable. -- cgit v1.2.3