aboutsummaryrefslogtreecommitdiffstats
path: root/Lab_2B.X/lab2b_header.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Lab_2B.X/lab2b_header.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/Lab_2B.X/lab2b_header.h b/Lab_2B.X/lab2b_header.h
index ccf2237..15b6b88 100644
--- a/Lab_2B.X/lab2b_header.h
+++ b/Lab_2B.X/lab2b_header.h
@@ -4,10 +4,20 @@
#ifdef __cplusplus
extern "C" {
#endif
-void wait_100us(void);
-void wait_1ms(void);
-void write_0(void);
-void write_1(void);
+ void wait_100us(void);
+ void wait_1ms(void);
+ void write_0(void);
+ void write_1(void);
+ //DEFINTIONS
+ void writeColor(int r, int g, int b);
+ void loop(void);
+ void delay(int delay_in_ms);
+ uint32_t packColor(unsigned char Red, unsigned char Grn, unsigned char Blu);
+ unsigned char getR(uint32_t RGBval);
+ unsigned char getG(uint32_t RGBval);
+ unsigned char getB(uint32_t RGBval);
+ void writePacCol(uint32_t PackedColor);
+ uint32_t Wheel(unsigned char WheelPos);
#ifdef __cplusplus
}
#endif