将ICM42688改为硬件SPI通讯。
This commit is contained in:
20
APP/LED_RGB.h
Normal file
20
APP/LED_RGB.h
Normal file
@ -0,0 +1,20 @@
|
||||
//
|
||||
// Created by hu123456 on 2024/2/22.
|
||||
//
|
||||
|
||||
#ifndef FOC_N_LED_RGB_H
|
||||
#define FOC_N_LED_RGB_H
|
||||
#include "mymain.h"
|
||||
|
||||
enum RGB_Color
|
||||
{
|
||||
black,
|
||||
red,
|
||||
green,
|
||||
blue
|
||||
};
|
||||
|
||||
void LED_RGB_Init();
|
||||
void Set_RGB_color(enum RGB_Color color);
|
||||
|
||||
#endif //FOC_N_LED_RGB_H
|
Reference in New Issue
Block a user