Mert Us / Mbed 2 deprecated lab1_part2

Dependencies:   PinDetect mbed

Files at this revision

API Documentation at this revision

Comitter:
mus3
Date:
Fri Sep 02 21:21:16 2022 +0000
Parent:
4:f7d30b369b78
Child:
6:78bc1931b391
Commit message:
more changes to part3

Changed in this revision

part3.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/part3.cpp	Fri Sep 02 20:59:58 2022 +0000
+++ b/part3.cpp	Fri Sep 02 21:21:16 2022 +0000
@@ -77,7 +77,7 @@
     pbbright.setSampleFrequency();
     
     while(1) {
-        led = brightness;
+        myRGBled.write(red_brightness, green_brightness, blue_brightness);
         wait(.2);
     }
 }
\ No newline at end of file