Skip to content

Commit

Permalink
Merge pull request #52 from Tinyu-Zhao/master
Browse files Browse the repository at this point in the history
fix some tip error
  • Loading branch information
Tinyu-Zhao authored Oct 24, 2021
2 parents 9cebf72 + 51f1a00 commit 5a33319
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/ATOM_BASE/ATOM_PoE/ATOM_PoE.ino
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ EthernetServer server(80);

void setup() {

FastLED.addLeds<NEOPIXEL, DATA_PIN1>(leds, NUM_LEDS); // GRB ordering is assumed
FastLED.addLeds<NEOPIXEL, DATA_PIN2>(leds, NUM_LEDS); // GRB ordering is assumed
FastLED.addLeds<NEOPIXEL, DATA_PIN1>(leds, NUM_LEDS); // RGB ordering is assumed
FastLED.addLeds<NEOPIXEL, DATA_PIN2>(leds, NUM_LEDS); // RGB ordering is assumed

SPI.begin(SCK, MISO, MOSI, -1);
Ethernet.init(CS);
Expand Down
2 changes: 1 addition & 1 deletion examples/Advanced/WIFI/OTAUpload/OTAUpload.ino
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const char* password = "2134123";

void setup() {
M5.begin(true,false,true); //Init Atom(Initialize serial port, LED). 初始化 ATOM(初始化串口、LED)
M5.dis.fillpix(0x00ff00); //Light LED with the specified GRB color F00000(Atom-Matrix has only one light). 以指定GRB颜色00ff00点亮所有LED
M5.dis.fillpix(0x00ff00); //Light LED with the specified RGB color F00000(Atom-Matrix has only one light). 以指定RGB颜色00ff00点亮所有LED
WiFi.begin(ssid, password); //Connect wifi and return connection status. 连接wifi并返回连接状态
while (WiFi.status() != WL_CONNECTED) { //If the wifi connection fails. 若wifi未连接成功
delay(1000);
Expand Down
2 changes: 1 addition & 1 deletion examples/Advanced/WIFI/WiFiMulti/WiFiMulti.ino
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void setup()
wifiMulti.addAP("cam", "6767"); //Storage wifi configuration information 1. 存储wifi配置信息1
wifiMulti.addAP("wifi1", "12345566");
wifiMulti.addAP("aaa", "sadf");
M5.dis.fillpix(0xfff000); //Light LED with the specified GRB color 0xfff000(Atom-Matrix has only one light). 以指定GRB颜色fff000点亮所有LED
M5.dis.fillpix(0xfff000); //Light LED with the specified RGB color 0xfff000(Atom-Matrix has only one light). 以指定RGB颜色fff000点亮所有LED
Serial.println("\n\nConnecting Wifi..."); //Serial port format output string. 串口格式化输出字符串
if(wifiMulti.run() == WL_CONNECTED) { //If the connection to wifi is established successfully. 如果与wifi成功建立连接
Serial.print("WiFi connected\n\nSSID:");
Expand Down
4 changes: 2 additions & 2 deletions examples/Basics/LEDSet/LEDSet.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Visit the website for more information:https://docs.m5stack.com/en/core/atom_matrix
* 获取更多资料请访问:https://docs.m5stack.com/zh_CN/core/atom_matrix
*
* describe:GRB LED. 点阵示例
* describe:RGB LED. 点阵示例
* date:2021/7/21
*******************************************************************************
*/
Expand All @@ -18,7 +18,7 @@ the program in the setUp () function will be run, and this part will only be run
void setup(){
M5.begin(true, false, true); //Init Atom-Matrix(Initialize serial port, LED). 初始化 ATOM-Matrix(初始化串口、LED点阵)
delay(50); //delay 50ms. 延迟50ms
M5.dis.drawpix(0, 0x00ff00); //Light the LED with the specified GRB color 00ff00(Atom-Matrix has only one light). 以指定GRB颜色0x00ff00点亮第0个LED
M5.dis.drawpix(0, 0x00ff00); //Light the LED with the specified RGB color 00ff00(Atom-Matrix has only one light). 以指定RGB颜色0x00ff00点亮第0个LED
}

uint8_t FSM = 0; //Store the number of key presses. 存储按键按下次数
Expand Down

0 comments on commit 5a33319

Please sign in to comment.