Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STARTUP_CHIME Anycubic Meg #126

Open
dietlow opened this issue Dec 21, 2021 · 2 comments
Open

STARTUP_CHIME Anycubic Meg #126

dietlow opened this issue Dec 21, 2021 · 2 comments

Comments

@dietlow
Copy link

dietlow commented Dec 21, 2021

Hi I would like to change theSTARTUP_CHIME back to the original Anycubic STARTUP_CHIME. I have enabled and located the section in the file but for the life of me I can't figure out how to change it.
Any help would be appreciated
Thanks

@davidramiro
Copy link
Owner

Hi, do you mean restoring the original song after having enabled the STARTUP_CHIME flag?

The chime is defined in here:
https://github.com/davidramiro/Marlin-Ai3M/blob/master/Marlin/AnycubicTFT.cpp#L119

The original tune is to be found here:
https://github.com/ANYCUBIC-3D/I3-MEGA/blob/master/Marlin_TFT_CR_V1.1.1/music.cpp#L32

I haven't heard the tune in a long time, but I think the rhythm went something like this:

#ifdef STARTUP_CHIME
    buzzer.tone(150, 2794); // F7
    buzzer.tone(150, 2093); // C7
    buzzer.tone(150, 2217); // D7
    buzzer.tone(150, 2349); // E7
    buzzer.tone(300, 2217); // D7
    buzzer.tone(300, 3136); // G7
    buzzer.tone(600, 3520); // A7
#endif

@dietlow
Copy link
Author

dietlow commented Dec 21, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants