Here you go :
Hello! Yesterday I started writing my first game. It is very basic and I am a veterinarian, so obviously I have no idea what I'm doing (seriously!!). In between CT scans of dogs, I have managed to write a tiny portion of this game, that I hope in the future will come pre-installed with m5stack (ahahah). Yesterday I didn't even know how to do a menu (well I still don't know how to do it correctly) and today I can almost save to a cloud! If I keep this up in a week or two I'll have something more playable. So far you can only do basic stuff, but more is coming :D !
The game can be found here:
I will try and update it at least once a week, preferably more often
If anyone needs help installing it just ask me. Easiest way is via ampy, or via uiflow (just copy paste the code and the try it via upload)
Hello! Antonio from Portugal. I am a veterinarian so I understand very little of what I'm doing ehehe. I use this mostly for fun though, so it's alright!
@ajb2k3 I know, I bought a lot of grove connecting thinggies :D It's great how things come together!
@lukasmaximus Also, bom dia :D Stick a tiny gps unit into a m5stack stick and I'll approve it, so you can sell it as a veterinarian-approved gps tracked :P
So, in flow:
i2c_l = i2c_bus.get(i2c_bus.PORTA)
b = str(i2c_l.readfrom(0X5E,3))
moving = b[4:6]
clicking = b[8:10]
I'm sure there's a better way to do this (with proper encoding). Clicking returns "1" if there is no clicking and "0" if there is. moving forward is 1,2,3,4,5 depending on speed and ff,fe,fd, etc... if it's going backwards.
Should be simple to do a blocky version of this!