Core 2 Factory Test Progress Bar
-
Hi All,
Just got my Core 2 and started playing with the factory demo that came out of the box. I like the homage to Evangelion in the layout on the top right. ;)
I wanted to replicate the diagonal progress bar on the top of the timer for my own project.

How is this done? I checked the source code in the link below but it is quite condensed and hard to find since there seems to be 3 sprites/images doing something similar.
https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Core/M5Core2/Arduino/Core2_Factory_testCould you please point me in the right direction?
Thanks,
-
Hello @greenhorn
it's part of the
clockFlush()function. Six images loaded sequentially over and over.sytState.clockCount ++; sytState.clockCount %= 6; DisClockbuff.drawColorBitmap(0,0,164,17, rectptrBuff[sytState.clockCount], 0xff9c00, 0x000000);Thanks
Felix -
Thanks, I'll check it out and give it a try.
-
My core2 makes a noise when i install the factory software using arduino or the built in burner, also it does nothing, i can’t seem to get it back onto the device, what gives? I’ve connected to serial port, burned the test and then all i hear is a low pitch noise… Anyone know about this?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login