A classy affair

Dependencies:   mbed mbed-rtos ShiftReg TextLCD

Committer:
thomasmorris
Date:
Thu Apr 11 11:51:16 2019 +0000
Revision:
5:20decc99e50c
Parent:
3:3700f0c29710
Updated Post function

Who changed what in which revision?

UserRevisionLine numberNew 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);