From 51f1a00d3d54b6e15cce35d54e33be2762353237 Mon Sep 17 00:00:00 2001 From: Tinyu Date: Sun, 24 Oct 2021 11:11:08 +0800 Subject: [PATCH] fix some tip error --- examples/ATOM_BASE/ATOM_PoE/ATOM_PoE.ino | 4 ++-- examples/Advanced/WIFI/OTAUpload/OTAUpload.ino | 2 +- examples/Advanced/WIFI/WiFiMulti/WiFiMulti.ino | 2 +- examples/Basics/LEDSet/LEDSet.ino | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/ATOM_BASE/ATOM_PoE/ATOM_PoE.ino b/examples/ATOM_BASE/ATOM_PoE/ATOM_PoE.ino index 68c6092..2926502 100644 --- a/examples/ATOM_BASE/ATOM_PoE/ATOM_PoE.ino +++ b/examples/ATOM_BASE/ATOM_PoE/ATOM_PoE.ino @@ -44,8 +44,8 @@ EthernetServer server(80); void setup() { - FastLED.addLeds(leds, NUM_LEDS); // GRB ordering is assumed - FastLED.addLeds(leds, NUM_LEDS); // GRB ordering is assumed + FastLED.addLeds(leds, NUM_LEDS); // RGB ordering is assumed + FastLED.addLeds(leds, NUM_LEDS); // RGB ordering is assumed SPI.begin(SCK, MISO, MOSI, -1); Ethernet.init(CS); diff --git a/examples/Advanced/WIFI/OTAUpload/OTAUpload.ino b/examples/Advanced/WIFI/OTAUpload/OTAUpload.ino index c8ee5e5..34e7d89 100644 --- a/examples/Advanced/WIFI/OTAUpload/OTAUpload.ino +++ b/examples/Advanced/WIFI/OTAUpload/OTAUpload.ino @@ -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); diff --git a/examples/Advanced/WIFI/WiFiMulti/WiFiMulti.ino b/examples/Advanced/WIFI/WiFiMulti/WiFiMulti.ino index bfd21c7..1f72e25 100644 --- a/examples/Advanced/WIFI/WiFiMulti/WiFiMulti.ino +++ b/examples/Advanced/WIFI/WiFiMulti/WiFiMulti.ino @@ -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:"); diff --git a/examples/Basics/LEDSet/LEDSet.ino b/examples/Basics/LEDSet/LEDSet.ino index b283c8b..ee9ad11 100644 --- a/examples/Basics/LEDSet/LEDSet.ino +++ b/examples/Basics/LEDSet/LEDSet.ino @@ -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 ******************************************************************************* */ @@ -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. 存储按键按下次数