Skip to content

Commit

Permalink
Merge pull request #136 from n0xa/develop
Browse files Browse the repository at this point in the history
Merge develop into main
  • Loading branch information
n0xa committed Mar 11, 2024
2 parents cbe9523 + 95f184b commit abe2318
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Firmware for high-tech pranks on M5Stack ESP32 Devices
![M5-Nemo Matrix Logo](https://github.com/n0xa/m5stick-nemo/blob/main/NEMOMatrix.png)
Logo by @unagironin

# Note: @n0xa is mostly offline until March 23rd due to relocation for work
I am not ignoring issues and pull requests, but I won't have time to address any of them until late March 2024.

## Name and Background
NEMO started a personal project to help me learn more about ESP32 development with the Arduino IDE. I decided to replicate a few common, trending pranks that were getting a lot of attention in the tech community, as a challenge to myself, and to also better understand these attacks.
NEMO is named after the small, clever and stubborn fish in Finding Nemo. This project stands in contrast to another high-tech gadget that's associated with certain sea-dwelling creatures. I did want to prove that there are a lot of things you can do with a small development kit and some curiosity. I have no delusions of superseding the capabilities of any similar device with this project. It's just for fun, and my own education.
Expand Down
7 changes: 5 additions & 2 deletions m5stick-nemo.ino
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ uint16_t FGCOLOR=0xFFF1; // placeholder
#define SDCARD //Requires a custom-built adapter
#define PWRMGMT
#define SPEAKER M5.Speaker
#define SONG
//#define SONG
// -=-=- ALIASES -=-=-
#define DISP M5.Lcd
#define IRLED 19
Expand Down Expand Up @@ -114,6 +114,7 @@ uint16_t FGCOLOR=0xFFF1; // placeholder
#define ROTATION
#define USE_EEPROM
#define SDCARD //Requires a custom-built adapter
//#define SONG
// -=-=- ALIASES -=-=-
#define DISP M5.Lcd
#define IRLED 9
Expand All @@ -140,6 +141,7 @@ uint16_t FGCOLOR=0xFFF1; // placeholder
#define ACTIVE_LOW_IR
#define USE_EEPROM
#define SDCARD
//#define SONG
// -=-=- ALIASES -=-=-
#define DISP M5Cardputer.Display
#define IRLED 44
Expand Down Expand Up @@ -457,7 +459,7 @@ int screen_dim_current = 0;
void screenBrightness(int bright){
Serial.printf("Brightness: %d\n", bright);
#if defined(AXP)
M5.Axp.ScreenBreath(bright);
M5.Axp.ScreenBreath(10 + round(((100 - 10) * bright / 100)));
#endif
#if defined(BACKLIGHT)
int bl = MINBRIGHT + round(((255 - MINBRIGHT) * bright / 100));
Expand Down Expand Up @@ -1267,6 +1269,7 @@ void sendAllCodes() {
DISP.printf("%02d:%02d:%02d\n", M5.Rtc.Hour, M5.Rtc.Minute, M5.Rtc.Second);
#endif
delay(250);
check_select_press();
}

/// TIME SETTING ///
Expand Down

1 comment on commit abe2318

@initixx
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please I need help with M5Burner !!! hello, when I download the nemo firmware folder from github and I want to publish it on M5Burner how to put the folder there? M5Burner does not recognize the folder and I wonder how to add a firmware folder on M5Burner, thanks in advance...

Please sign in to comment.