From ce770a434bb9c1547a38d392504c80b153b230d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Sun, 21 May 2017 14:36:20 +0200 Subject: [PATCH] fix list indentation --- README.md | 102 +++++++++++++++++++++++++++--------------------------- 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/README.md b/README.md index 109ce74..7fbd51a 100644 --- a/README.md +++ b/README.md @@ -35,11 +35,11 @@ peripherals - 1x 8-digit 7-segment display based on the MAX7219 to display the date - 1x 8-digit 7-segment display based on the MAX7219 to display the time (hours, minutes, seconds) and frame number - 7x 4-digit 7-segment display based on the TM1637 to display recording information - - 1x to display the episode (or chapter) - - 1x to display the scene - - 1x to display the take - - 2x to display the video file number - - 2x to display the audio file number + - 1x to display the episode (or chapter) + - 1x to display the scene + - 1x to display the take + - 2x to display the video file number + - 2x to display the audio file number - 1x 16-channel multiplexer to communicate with the 7-segments individually - 8x2 button switches to adjust the recording numbers and seconds - 1x button switch to detect clap @@ -55,59 +55,59 @@ connections Connect the peripherals the following way (peripheral signal; peripheral pin; micro-controller pin; micro-controller signal; comment): - DS1307 RTC to get the date and EEPROM to save the numbers - - VCC; 8; ; +5V; - - GND; 4; ; GND; - - SCL; 6; PB10; I2C2_SCL; - - SDA; 5; PB11; I2C2_SDA; - - SQW; 7; PBO; GPIO; to synchronize the seconds + - VCC; 8; ; +5V; + - GND; 4; ; GND; + - SCL; 6; PB10; I2C2_SCL; + - SDA; 5; PB11; I2C2_SDA; + - SQW; 7; PBO; GPIO; to synchronize the seconds - 2x MAX7219 in chain to show date and time - - VCC; 19; ; +5V; - - GND; 4; ; GND; - - CLK; 13; PB13; SPI2_CLK; - - DIN; 1; PB15; SPI2_MOSI; - - LOAD; 12; PB12; SPI2_NSS; used as GPIO + - VCC; 19; ; +5V; + - GND; 4; ; GND; + - CLK; 13; PB13; SPI2_CLK; + - DIN; 1; PB15; SPI2_MOSI; + - LOAD; 12; PB12; SPI2_NSS; used as GPIO - 7x TM1637 to show the recording numbers - - VDD; 16; ; +5V; - - GND; 1; ; GND; - - DIO; 17; PB7; GPIO; display with no clock signal will ignore data activity - - CLK; 18; 3-9; I0-I6; on analog multiplexer + - VDD; 16; ; +5V; + - GND; 1; ; GND; + - DIO; 17; PB7; GPIO; display with no clock signal will ignore data activity + - CLK; 18; 3-9; I0-I6; on analog multiplexer - 1x CD74HC4067 16-channel multiplexer - - VCC; 24; ; +5V; - - GND; 12; ; GND; - - common input; 1; PB6; GPIO; clock for TM1637 - - -E; 15; PB9; GPIO; to enable on low - - S0; 10; PB3; GPIO; to select output - - S1; 11; PB4; GPIO; to select output - - S2; 14; PB5; GPIO; to select output - - S3; 13; ; GND; - - I0; 9; 18; CLK; TM1637 for audio 2 - - I1; 8; 18; CLK; TM1637 for video 2 - - I2; 7; 18; CLK; TM1637 for audio 1 - - I3; 6; 18; CLK; TM1637 for video 1 - - I4; 5; 18; CLK; TM1637 for episode - - I5; 4; 18; CLK; TM1637 for scene - - I6; 3; 18; CLK; TM1637 for take + - VCC; 24; ; +5V; + - GND; 12; ; GND; + - common input; 1; PB6; GPIO; clock for TM1637 + - -E; 15; PB9; GPIO; to enable on low + - S0; 10; PB3; GPIO; to select output + - S1; 11; PB4; GPIO; to select output + - S2; 14; PB5; GPIO; to select output + - S3; 13; ; GND; + - I0; 9; 18; CLK; TM1637 for audio 2 + - I1; 8; 18; CLK; TM1637 for video 2 + - I2; 7; 18; CLK; TM1637 for audio 1 + - I3; 6; 18; CLK; TM1637 for video 1 + - I4; 5; 18; CLK; TM1637 for episode + - I5; 4; 18; CLK; TM1637 for scene + - I6; 3; 18; CLK; TM1637 for take - 1x power board (custom), including SW-18015P shake switch between collector of PNP and emitter (with pull-down resistor and diode between shake switch and emitter) - - GND; ; GND; step up voltage regulator; - - IN; ; 5V; step up voltage regulator; - - OUT; ; +5V; all other peripherals - - base of PNP; SWITCH; PB8; to control power to all peripherals - - not-collector connected pin of shake switch; ACTIVITY; PB1; to detect power-up activity + - GND; ; GND; step up voltage regulator; + - IN; ; 5V; step up voltage regulator; + - OUT; ; +5V; all other peripherals + - base of PNP; SWITCH; PB8; to control power to all peripherals + - not-collector connected pin of shake switch; ACTIVITY; PB1; to detect power-up activity - 1x clap switch - - pin 1; 1; ; GND; - - pin 2; 2; PB14; ; to detect clapping action (add pull-up resistor to improve detection) + - pin 1; 1; ; GND; + - pin 2; 2; PB14; ; to detect clapping action (add pull-up resistor to improve detection) - 16x buttons, in a 4x4 matrix - - 4x row 0 buttons; ; PA0; ; row 0 - - 4x row 1 buttons; ; PA1; ; row 1 - - 4x row 2 buttons; ; PA2; ; row 2 - - 4x row 3 buttons; ; PA3; ; row 3 - - 4x column 0 buttons; ; PA4; ; column 0, with a pull-down resistor - - 4x column 1 buttons; ; PA5; ; column 1, with a pull-down resistor - - 4x column 2 buttons; ; PA6; ; column 2, with a pull-down resistor - - 4x column 3 buttons; ; PA15; ; column 3, with a pull-down resistor + - 4x row 0 buttons; ; PA0; ; row 0 + - 4x row 1 buttons; ; PA1; ; row 1 + - 4x row 2 buttons; ; PA2; ; row 2 + - 4x row 3 buttons; ; PA3; ; row 3 + - 4x column 0 buttons; ; PA4; ; column 0, with a pull-down resistor + - 4x column 1 buttons; ; PA5; ; column 1, with a pull-down resistor + - 4x column 2 buttons; ; PA6; ; column 2, with a pull-down resistor + - 4x column 3 buttons; ; PA15; ; column 3, with a pull-down resistor - 1x piezo-electric element (buzzer, without driver) - - pin 1; ; PA7; TIM1_CH1; PWM with 4 kHz used - - pin 2; ; PA8; TIM1_CH1N; PWM with 4 kHz used + - pin 1; ; PA7; TIM1_CH1; PWM with 4 kHz used + - pin 2; ; PA8; TIM1_CH1N; PWM with 4 kHz used All pins are configured using `define`s in the corresponding source code.