OMG...! Just when you tried to check the time, Someones invade your watch to disturb you.
Therefore, You must beat all Invaders...!
GitHubhttps://github.com/phillowcompiler/WatchInvader_M5StickC
* required M5StickC Library
https://github.com/m5stack/M5StickC
How to Usea) TOP
+ On boot
+ Waking up from sleep
If you use first time, It would be better to adjust the time by NTP on WiFi. Plz press [B]button.
In addition, The setting for WiFi, NTP, and TimeZone can modify on "watchinvaders.h
".
//
// Custom Setting
//
// if you hope to set WiFi-parameters by SmartConfig, delete comment the following.
//#define SMARTCONFIG
#define SSIDNAME "your-ssid"
#define WIFIPASS "your-pass"
#define NTPSERVER "ntp.nict.jp","time.google.com","ntp.jst.mfeed.ad.jp"
#define TIMEZONE 9 /* in Japan */
You would press [A]button for start to beat Invaders. :-)
b) Beat Invaders!
You would be able to control "the Ship" by tilting M5StickC (Sorry, only MPU6866 ver.).
And, you have to shake quickly your arm (or press [A]button) to shoot.
c) Game Win!
You will be able to have the time for 60 seconds :-)
you can press [B]button for back to TOP.
d) Sleep
This goes to sleep mode to save battery.(After 60 seconds from the TOP)
Then, you can press [A]button for waking up.
Thanks!- tanakamasayuki
https://github.com/tanakamasayuki/M5StickC-examples
- Daniel Champagne
(Tiny Space Invaders for ATTINY85)
Comments