You can make a new class , create a task to control blink or not, and color, with only one function call in you main code . I have done it, but is on vacation now, so cant share it.
Posts made by AgreeDK
-
RE: Stamp C nonblocking led script?
-
RE: Writing and re-writing text?
@david-bethesda you select where to write the text, x & y, then make a function to first erase the area with fill rect and then write the new text at x,y
-
RE: Pulse sensor connection
@david-bethesda the short answer is yes ;-)
You Will have to make you own wiring/cable , then if using Arduino programmering find a library supporting the sensor, upload example code and test it 😉 -
RE: [Core2] How to disable speaker tone during booting / power-up?
@testing123 it is the program you have loaded in the Core 2 who control the speaker, so you need to change the program.
-
RE: How do I reset M5Stack ESP32 PSRAM Timer Camera X (OV3660) using code
@spjrc set a timer to call a function after 6-12 houre, then call ESP.restart() from that function.
-
RE: How do I reset M5Stack ESP32 PSRAM Timer Camera X (OV3660) using code
You can reboot esp32 using ESP.restart();
-
RE: SX1509 library needed.
@meirmark the answer is both, just checked the library it use Wire.h so you only have to use the correct pins in the setup Calle.
-
RE: SX1509 library needed.
@meirmark I code All my M5Stack pruduct using Arduino ide with added M5 support, so the library work for me.
-
RE: SX1509 library needed.
@meirmark Google is your friend, 1st hit:https://github.com/sparkfun/SparkFun_SX1509_Arduino_Library
-
RE: Alarms based on current time? M5Core2
@babygirl1248 i know you can write special code for the rtc, but have never try.
Each time the esp32 is running, you can update the clock and after doing its job, calculate the time it should sleep to wake up at your selectede time and then make it sleep for that amount of sec. -
RE: LVGL on Core2 with arduino
@punyviking Core2 use esp32 so Google search "lvgl esp32 arduino" give you some hint, it should be possibel .
-
RE: Dumping .h file to psram/flash?
@babygirl1248 on the core2 you can play MP3 and WAV files stores in the SD card..
-
RE: Mozzi sound synthesis library for Arduino - how to make it work on the Core2
Great work, got it installed, looks nice, now i just need time to Play with it.
-
RE: Mozzi sound synthesis library for Arduino - how to make it work on the Core2
@oscillator looking forward to try it 👍
-
RE: Core2: Using the second core
@oscillator It Will normaly use both, you can learn more about it here: https://randomnerdtutorials.com/esp32-dual-core-arduino-ide/
-
RE: Charge battery on 8Servos HAT ?
@m5stack : So the BAT pin on th StickC is connected to pin 6 on the 8Servos Hat, which is direct connected to the battery + pin ?
-
Charge battery on 8Servos HAT ?
according to the documents PinMap for 8Servos HAT only the 3V3 pin is connected, does that mean the 3V3 pin is use to charge the battery or does it also use the 5V out from the StickC ?
Thx in advance for your support.