2024-10-16 23:51:49 -07:00
|
|
|
/*
|
|
|
|
* rgbled.h
|
|
|
|
*
|
|
|
|
* Created on: Oct 16, 2024
|
|
|
|
* Author: true
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef USER_SRC_RGBLED_H_
|
|
|
|
#define USER_SRC_RGBLED_H_
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#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();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* USER_SRC_RGBLED_H_ */
|