release ATOM SPK and update some info

This commit is contained in:
Sean
2021-02-26 17:27:20 +08:00
parent 761e0649e7
commit 8a12fcd96d
221 changed files with 1393 additions and 884 deletions
+3 -3
View File
@@ -70,7 +70,7 @@ Be care about TTL Interface. It is a UART Interface actually by default. But you
## PinMap
| *CAN* | *ESP32 Chip* |
| *MCP2515* | *ESP32 Chip* |
| :----------: |:------------: |
| CAN_CS | GPIO12 |
| CAN_INT | GPIO15 |
@@ -81,8 +81,8 @@ Be care about TTL Interface. It is a UART Interface actually by default. But you
| *I2C Interface* | *ESP32 Chip* |
| :--------------: |:------------: |
| IIC_SDA | GPIO21 |
| IIC_SCL | GPIO22 |
| I2C_SDA | GPIO21 |
| I2C_SCL | GPIO22 |
## MBUS PinMap
+2 -2
View File
@@ -89,7 +89,7 @@ The series communication protocol between M5 core and ENCODER is I2C (The defaul
**Control single RGB**
```arduino
```clike
/*
Parameter:
led_index: 0 ~ 11
@@ -108,7 +108,7 @@ void Led(int led_index, int r, int g, int b){
**Read encoder increment**
```arduino
```clike
void get_encoder_increment(void){
int temp_encoder_increment;
+2 -2
View File
@@ -85,7 +85,7 @@ To the complete code `faces_joystick.ino`, click [here](https://github.com/m5sta
**Control single RGB**
```arduino
```clike
/*
Parameter:
indexOfLED: 0 ~ 11
@@ -103,7 +103,7 @@ void Led(int indexOfLED, int r, int g, int b){
**Read the offset of each direction**
```arduino
```clike
void get_joystick_offset(void){
Wire.requestFrom(FACE_JOY_ADDR, 5);
if (Wire.available()) {