Pmatsol58 / VyperCE6.1

This Marlin fork has the goal of adapting the Creality Community Edition to the Anycubic Vyper
GNU General Public License v3.0
40 stars 6 forks source link

M300 frequency and tone queue not working #11

Closed Dominik-1980 closed 2 years ago

Dominik-1980 commented 2 years ago

Bug Description

M300 always plays the same tone. I can change duration with P, but frequency with S doesn't work. Also the tone queue doesn't work. I have a list of M300 commands at the End-gCode, to play a melody, but it just plays one tone. Always the same beep with the same frequency as the touchscreen input uses...

Version of CR6Community Firmware

Anycubic Vyper CE6.1c

Pmatsol58 commented 2 years ago

The M300 beep uses the tone output of the display which is a fixed frequency, I need to look at bringing it back to the onboard speaker which can have frequency set.

smcbride-ca commented 2 years ago

This commit fixes the issue. If these changes are made we can get sound working properly

Pmatsol58 commented 2 years ago

Committed.