25 lines
325 B
C
25 lines
325 B
C
|
/*
|
||
|
* rgbled.h
|
||
|
*
|
||
|
* Created on: Oct 16, 2024
|
||
|
* Author: true
|
||
|
*/
|
||
|
|
||
|
#ifndef USER_SRC_RGBLED_H_
|
||
|
#define USER_SRC_RGBLED_H_
|
||
|
|
||
|
|
||
|
|
||
|
#define RGBLED_PORT GPIOA
|
||
|
#define RGBLED_PIN_R GPIO_Pin_0
|
||
|
#define RGBLED_PIN_G GPIO_Pin_1
|
||
|
#define RGBLED_PIN_B GPIO_Pin_2
|
||
|
|
||
|
|
||
|
|
||
|
void rgbled_update();
|
||
|
|
||
|
|
||
|
|
||
|
#endif /* USER_SRC_RGBLED_H_ */
|