I got an error on Iot Pet feeder


I have replace the sample code from the circuito reply with the code on https://www.hackster.io/circuito-io-team/iot-pet-feeder-10a4f3.I already leave the //Include Libraries and //Pin Definitions at the top of the code, and also keep all the libraries that are on the original code from circuito.io. the result when i verify the code, i got an error ( no matching function for call to ‘PiezoSpeaker::tone(int)’ ). please help me. thanks.


Hey, you can see the updated code for the pet feeder here