Need to make an alarm sound when temp rises on the M5core2
-
Hello
I am trying for a whole day now to make a simple alarm sound when the temp measured by a sensor pass 85 degrees.
tried all the demo codes but none works.
Only one works with M5unified but it conflicts with my other libs
'''#include <M5Core2.h>
#include <Module_4RELAY.h>
#include <OneWire.h>
#include <DallasTemperature.h>
#include <M5_ACSSR.h>'''
PLEASE HELP anybody just a small piece of code for a alarm sound on the M5core2 -
@ioamas what is your code?
-
@robski
I am not sure about your question - are you asking about the main code or the sound making code?
I have tried a lot of different approaches to get an alarm sound but nothing worked. Last try was with https://github.com/Hagtronics/M5Stack-Core2/tree/main/Sound
but with no success.
I just need any working piece of code that makes a beep sound and I will add it to my main code.