Is this problem already solved?
It seems to be a mistake in the sample program.
Although, the variable 'count' in the function i2c_transmit() should be global, it is interpreted as local.
I modified the function i2c_on_transmit() as follows:
def i2c_on_transmit ():
global count
count = count + 1
print ("on_transmit, send:", count)
return count
Then, it worked well.
@m5stack I have tried Tag36H11 images for numbers and this makes no difference. UnitV with M5Stack Fire and UIFlow did not decode the images. I did not make any alternation to my UIFlow code. Did you test this software?
Hi Van
If you like to experiment there is a magnetometer BMM150 in M5Core Gray, Fire and M5GO. Also the M5StickC ENV Hat contains the same BMM150. But I guess you already knew that.
Cheers
Felix
@shotokutech
You can use the USB-C port as a serial monitor (for debug or Micropython REPL).
There is also a Grove port that can be used for I2C, I/O, or UART. Also there are multiple GPIO ports on the bottom: G19, G21, G22, G23, G25, G33
I have a few related questions. All are related to charging the M5StickC, JoyC and RoverC and their drain during use. Given that RoverC and JoyC need an M5Stick to be connected to be charged and all have the devices have batteries in them and the batteries in each set (M5StickC paired with either JoyC or RoverC) differ in capacity. How Do We know:
State of Charge of the batteries in either set?
When To disconnect the charger? (batteries fully charged) and
Which of the two batteries in each set is being drained during use( M5Stick's or Hat's)?