Added the pin outs
Dependencies: mbed mbed-rtos ShiftReg TextLCD
Readme.txt@3:3700f0c29710, 2019-04-10 (annotated)
- Committer:
- thomasmorris
- Date:
- Wed Apr 10 11:33:32 2019 +0000
- Revision:
- 3:3700f0c29710
A classy afair
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
thomasmorris | 3:3700f0c29710 | 1 | //Pinouts for the bluepill can be found here |
thomasmorris | 3:3700f0c29710 | 2 | //https://os.mbed.com/users/hudakz/code/STM32F103C8T6_Hello/ |
thomasmorris | 3:3700f0c29710 | 3 | |
thomasmorris | 3:3700f0c29710 | 4 | DigitalOut myled(PC_13); //Onboard LED |
thomasmorris | 3:3700f0c29710 | 5 | Serial PC(PB_10, PB_11); //TX, RX |
thomasmorris | 3:3700f0c29710 | 6 | TextLCD LCD(PB_12, PB_13, PB_14, PB_15, PA_8, PA_9); // rs, e, d4-d7 |
thomasmorris | 3:3700f0c29710 | 7 | //ShiftReg SR1(PA_12, PA_11, PA_10); //data, store, clock |
thomasmorris | 3:3700f0c29710 | 8 | |
thomasmorris | 3:3700f0c29710 | 9 | DigitalOut Muscle0(PA_10); |
thomasmorris | 3:3700f0c29710 | 10 | DigitalOut Muscle1(PA_10); |
thomasmorris | 3:3700f0c29710 | 11 | |
thomasmorris | 3:3700f0c29710 | 12 | AnalogIn FEEDBACK_0(PB_0); |
thomasmorris | 3:3700f0c29710 | 13 | AnalogIn FEEDBACK_1(PB_1); |