Dependencies:   C12832

Revision:
0:9379316708c1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Feb 10 10:53:52 2020 +0000
@@ -0,0 +1,35 @@
+/* mbed Microcontroller Library
+ * Copyright (c) 2019 ARM Limited
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+
+#include "mbed.h"
+#include "platform/mbed_thread.h"
+#include "C12832.h"
+
+// Blinking rate in milliseconds
+#define BLINKING_RATE_MS 500
+
+
+
+AnalogIn pot1 (A0);
+AnalogIn pot2 (A1);
+PwmOut r (D5);
+PwmOut g (D8);
+PwmOut b (D9);
+
+int main()
+{
+    while(1){
+    r = (float)pot1;
+    g = (float)pot2;
+    b = (float)pot1;
+    wait(0.1);
+    }
+}
+
+
+
+
+