Simple project using serial communication and rotary encoder to control PWM signal for LED lights dimming

Dependencies:   mbed Room mbed-rtos Host Bluetooth Rotaty_Encoder

PWM LED LIGHT CONTROL

https://os.mbed.com/media/uploads/nzupcic/blockschematics.png

Committer:
nzupcic
Date:
Tue Sep 21 16:51:35 2021 +0000
Revision:
0:fb549236876f
Simple project with PWM LED light control using rotary encoder and Serial communication

Who changed what in which revision?

UserRevisionLine numberNew contents of line
nzupcic 0:fb549236876f 1 #include "mbed.h"
nzupcic 0:fb549236876f 2 #include "Room.h"
nzupcic 0:fb549236876f 3
nzupcic 0:fb549236876f 4 Room livingRoom(LED2, p11, p12, p13, p9, p10, USBTX, USBRX);
nzupcic 0:fb549236876f 5
nzupcic 0:fb549236876f 6 int main() {
nzupcic 0:fb549236876f 7 while(1){
nzupcic 0:fb549236876f 8 //do something
nzupcic 0:fb549236876f 9 }
nzupcic 0:fb549236876f 10 }