Skip to content

Commit

Permalink
release v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitshaoxiang committed Sep 26, 2023
1 parent 50d8524 commit 9352136
Show file tree
Hide file tree
Showing 9 changed files with 120 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@

# M5Dial

## Basic library for M5Stack M5Dial Board


License
----------------
M5GFX : [MIT](https://github.com/m5stack/M5GFX/blob/master/LICENSE)
M5GFX : [MIT](https://github.com/m5stack/M5GFX/blob/master/LICENSE)
M5Unified : [MIT](https://github.com/m5stack/M5Unified/blob/master/LICENSE)
Encoder : [original](src/utility/Encoder.h)

16 changes: 15 additions & 1 deletion examples/Basic/button/button.ino
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/**
* @file button.ino
* @author SeanKwok (shaoxiang@m5stack.com)
* @brief M5Dial Button Test
* @version 0.1
* @date 2023-09-26
*
*
* @Hardwares: M5Dial
* @Platform Version: Arduino M5Stack Board Manager v2.0.7
* @Dependent Library:
* M5GFX: https://github.com/m5stack/M5GFX
* M5Unified: https://github.com/m5stack/M5Unified
*/

#include "M5Dial.h"

void setup() {
Expand All @@ -11,7 +26,6 @@ void setup() {
M5Dial.Display.height() / 2);
}


void loop() {
M5Dial.update();
if (M5Dial.BtnA.wasPressed()) {
Expand Down
14 changes: 14 additions & 0 deletions examples/Basic/buzzer/buzzer.ino
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/**
* @file buzzer.ino
* @author SeanKwok (shaoxiang@m5stack.com)
* @brief M5Dial Buzzer Test
* @version 0.1
* @date 2023-09-26
*
*
* @Hardwares: M5Dial
* @Platform Version: Arduino M5Stack Board Manager v2.0.7
* @Dependent Library:
* M5GFX: https://github.com/m5stack/M5GFX
* M5Unified: https://github.com/m5stack/M5Unified
*/
#include "M5Dial.h"

void setup() {
Expand Down
14 changes: 14 additions & 0 deletions examples/Basic/display/display.ino
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/**
* @file display.ino
* @author SeanKwok (shaoxiang@m5stack.com)
* @brief M5Dial Display Test
* @version 0.1
* @date 2023-09-26
*
*
* @Hardwares: M5Dial
* @Platform Version: Arduino M5Stack Board Manager v2.0.7
* @Dependent Library:
* M5GFX: https://github.com/m5stack/M5GFX
* M5Unified: https://github.com/m5stack/M5Unified
*/
#include "M5Dial.h"

void draw_function(LovyanGFX* gfx) {
Expand Down
15 changes: 15 additions & 0 deletions examples/Basic/encoder/encoder.ino
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/**
* @file encoder.ino
* @author SeanKwok (shaoxiang@m5stack.com)
* @brief M5Dial Encoder Test
* @version 0.1
* @date 2023-09-26
*
*
* @Hardwares: M5Dial
* @Platform Version: Arduino M5Stack Board Manager v2.0.7
* @Dependent Library:
* M5GFX: https://github.com/m5stack/M5GFX
* M5Unified: https://github.com/m5stack/M5Unified
*/

#include "M5Dial.h"

void setup() {
Expand Down
15 changes: 15 additions & 0 deletions examples/Basic/rfid/rfid.ino
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/**
* @file rfid.ino
* @author SeanKwok (shaoxiang@m5stack.com)
* @brief M5Dial RFID Test
* @version 0.1
* @date 2023-09-26
*
*
* @Hardwares: M5Dial
* @Platform Version: Arduino M5Stack Board Manager v2.0.7
* @Dependent Library:
* M5GFX: https://github.com/m5stack/M5GFX
* M5Unified: https://github.com/m5stack/M5Unified
*/

#include "M5Dial.h"

void setup() {
Expand Down
15 changes: 15 additions & 0 deletions examples/Basic/rtc/rtc.ino
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/**
* @file rtc.ino
* @author SeanKwok (shaoxiang@m5stack.com)
* @brief M5Dial RTC SNTP Test
* @version 0.1
* @date 2023-09-26
*
*
* @Hardwares: M5Dial
* @Platform Version: Arduino M5Stack Board Manager v2.0.7
* @Dependent Library:
* M5GFX: https://github.com/m5stack/M5GFX
* M5Unified: https://github.com/m5stack/M5Unified
*/

#if defined(ARDUINO)

#define WIFI_SSID "YOUR WIFI SSID NAME"
Expand Down
15 changes: 15 additions & 0 deletions examples/Basic/touch/touch.ino
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/**
* @file touch.ino
* @author SeanKwok (shaoxiang@m5stack.com)
* @brief M5Dial Touch Test
* @version 0.1
* @date 2023-09-26
*
*
* @Hardwares: M5Dial
* @Platform Version: Arduino M5Stack Board Manager v2.0.7
* @Dependent Library:
* M5GFX: https://github.com/m5stack/M5GFX
* M5Unified: https://github.com/m5stack/M5Unified
*/

#include <M5Dial.h>

void setup(void) {
Expand Down
15 changes: 15 additions & 0 deletions examples/Basic/wakeup/wakeup.ino
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/**
* @file wakeup.ino
* @author SeanKwok (shaoxiang@m5stack.com)
* @brief M5Dial Timer Wakeup Test
* @version 0.1
* @date 2023-09-26
*
*
* @Hardwares: M5Dial
* @Platform Version: Arduino M5Stack Board Manager v2.0.7
* @Dependent Library:
* M5GFX: https://github.com/m5stack/M5GFX
* M5Unified: https://github.com/m5stack/M5Unified
*/

#include <M5Dial.h>

void setup(void) {
Expand Down

0 comments on commit 9352136

Please sign in to comment.