blob: 15b6b8871ced23cbf542fc9c6b822663f5796d07 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef LAB2B_ASM
#define LAB2B_ASM
#ifdef __cplusplus
extern "C" {
#endif
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
#endif /* LAB2B_ASM */
|