2024-10-16 23:51:49 -07:00
|
|
|
/*
|
|
|
|
* rgbled.h
|
|
|
|
*
|
|
|
|
* Created on: Oct 16, 2024
|
|
|
|
* Author: true
|
|
|
|
*/
|
|
|
|
|
2024-11-06 19:15:40 -08:00
|
|
|
#ifndef USER_PERIPH_RGBLED_H_
|
|
|
|
#define USER_PERIPH_RGBLED_H_
|
2024-10-16 23:51:49 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define RGBLED_PORT GPIOA
|
2024-10-22 23:06:18 -07:00
|
|
|
#define RGBLED_PIN_B GPIO_Pin_0
|
2024-10-16 23:51:49 -07:00
|
|
|
#define RGBLED_PIN_G GPIO_Pin_1
|
2024-10-22 23:06:18 -07:00
|
|
|
#define RGBLED_PIN_R GPIO_Pin_2
|
2024-10-16 23:51:49 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
2024-10-22 23:06:18 -07:00
|
|
|
void rgbled_init();
|
2024-10-16 23:51:49 -07:00
|
|
|
void rgbled_update();
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-11-06 19:15:40 -08:00
|
|
|
#endif /* USER_PERIPH_RGBLED_H_ */
|