diff options
Diffstat (limited to '')
-rw-r--r-- | Lab_2B.X/lab2b_c.c | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/Lab_2B.X/lab2b_c.c b/Lab_2B.X/lab2b_c.c index 21fdcba..b063b27 100644 --- a/Lab_2B.X/lab2b_c.c +++ b/Lab_2B.X/lab2b_c.c @@ -67,42 +67,42 @@ void writeColor(int r, int g, int b) { void loop(void) {
while (1) {
- LATA = 0x0000;
- wait_100us();
-
- //RED
- write_1();
- write_1();
- write_1();
- write_1();
-
- write_1();
- write_1();
- write_1();
- write_1();
-
- //GREEN
- write_1();
- write_0();
- write_0();
- write_1();
-
- write_1();
- write_0();
- write_1();
- write_1();
-
- //BLUE
- write_0();
- write_0();
- write_0();
- write_0();
-
- write_0();
- write_0();
- write_0();
- write_0();
-
- //writeColor(255, 155, 0);
+ writeColor(255, 155, 0);
+ /* HARDCODED */
+// LATA = 0x0000;
+// wait_100us();
+//
+// //RED
+// write_1();
+// write_1();
+// write_1();
+// write_1();
+//
+// write_1();
+// write_1();
+// write_1();
+// write_1();
+//
+// //GREEN
+// write_1();
+// write_0();
+// write_0();
+// write_1();
+//
+// write_1();
+// write_0();
+// write_1();
+// write_1();
+//
+// //BLUE
+// write_0();
+// write_0();
+// write_0();
+// write_0();
+//
+// write_0();
+// write_0();
+// write_0();
+// write_0();
}
}
\ No newline at end of file |