Hello @bensonwhlee
try adding a delay(500)
before calling pbhub.begin()
. My above linked code fails to initialize PbHub without a delay.
Thanks
Felix
Forum wide moderators
Hello @bensonwhlee
try adding a delay(500)
before calling pbhub.begin()
. My above linked code fails to initialize PbHub without a delay.
Thanks
Felix
@icarus121
Your problem is that you use "loop" in the callback function of "touchbutton0_was_pressed". This will cause your program to loop forever.
I recommend you add a flag to indicate whether button1 or button2 is pressed: in the loop, if button1 is pressed, execute program 1; the same applies to button2.
Hello @wjcarpenter
the battery charging IC is TP4057 and battery voltage is measured via R40 / R41 into GPI38. See second page of the schematics here.
Thanks
Felix
@benhultink
seems like a network issue, have you checked your internet connection? have you turned system proxy on? have you tried change a network?
@williamsmaith Thank you, Your question could have been interpreted in many ways but, now we know your base level of understanding we can give details.
One of my projects uses a Mio robot I got cheep from a toy store. I removed the circuit board and found the M5Stack core fits it perfectly (you can find the project on hackster).
The biggest none m5stack range you can try is technic lego, the options it offers is amazing. I use the pressure sensor to expand the ability of technic pneumatics.
I have an old lego computer interface that I can control from a core.
We had one member controlling DJI drones and RC cars.
@williamsmaith Do you know how to code?
do you understand electronics?
Have you tried any of the M5Stack accessories?
Have you looked in the documents and tried to replicate and of the M5Stack devices?
@PavelNDC Public (red) means that's it's not connected. normally this is an issue with the M5Stack server.
@Wizzy38952 Have you charged it?
Erase bruce and only burn UIFLOW2
Hello @bensonwhlee
I think you need to use the M5StamPLC library together with M5Unified and M5GFX libraries for it to work properly.
Please find an example here which works for me.
Edit: if you don't need M5StamPLC specific functions then it should be sufficient to add the following line to your setup code:
Wire.begin(2, 1, 400000U);
Thanks
Felix