@ajb2k3 It is m5stack library V 0.2.9
Posts made by pattiuak
-
RE: want to power off m5stickC from code
@ajb2k3 I using arduino version 1.8.9 (windows store 1.8.21 ) and m5stickC library 0.1.0.
-
want to power off m5stickC from code
I try these command non of them work.
-
M5.powerOFF();
when compile i get result "'class M5StickC' has no member named 'powerOFF'" -
M5.Axp.halt();
when compile i get result "'class AXP192' has no member named 'halt'" -
M5.Axp.SetSleep();
program still running and wifi still on. battery will die in a few hour. -
M5.Axp.DeepSleep();
this seem to work but when I press power/reset bnt my program not start it just on the LCD with black color.
Please help me.
Thank You. -
-
Get Y ACC was swap with Get Z ACC ini V 1.1.2
I was sure Y & Z axis was swap. I try to read Y ACC when LCD was face up it get value around 0.9xx when I face LCD down it get value around -0.9xx
-
RE: M5Stack at Bangkok Makerfaire
@ajb2k3 Sory. I don't take any photo just buy m5stack fire.
-
RE: M5Stack at Bangkok Makerfaire
I was there and get m5stack fire from this fair. Your product was very impressive.
-
RE: How to read Standard RC signal
@ajb2k3 As I Know
-
analog read will read voltage input from 0 V. to 5 V. in this case it will pickup either 0 V. or full 5 V. (depend on PWM duty when you read it). So analog read is useless for this case.
-
digital pin read is just get 0 or 1. But if I can get delta time between it change from 0 to 1 and change back from 1 to 0 it will work. But UI FLOW don't have any block that can read processing time. So it impossible to read duty time with digital pin read only.
-
-
How to read Standard RC signal
I want to read Standard RC PWM input signal on port A (or B, C). Standard RC PWM signal is between 1.5 ms to 2 ms and have timeout at 20 ms. How to do it in UI FLOW.
PS.
Something that similar to "pulseIn" command in arduino? -
Sharing Code for RC Servo tester
Hi.
I just start code m5stack for 2 day (My model is m5stack fire).
This code support 3 mode .-
Manual Mode. You can set RC servo from 0 to 180 degree.(10 degree per step.)
-
Center Mode. This mode will lock servo at 90 degree.
-
Sweep Mode. This mode will loop sweeping servo to 0, 90 and 180 degree then sweep back to 90 and 0 degree.
-