Notifications
Clear all
Topic starter
2020-05-04 2:29 pm
how do you set the code for serial write 0x13 and make it work
2020-05-04 3:22 pm
This will send a 0x13 (15 in base 10)
Serial.write(0x13);
I think there is a Ardunio library for this module here: https://wiki.dfrobot.com/DFPlayer_Mini_SKU_DFR0299
Topic starter
2020-05-05 1:28 pm
ok i will check that out
Topic starter
2020-05-05 2:32 pm
i check it out ad i cant seem to use it with a botton
if (sensorVal, LOW)
{
myDFPlayer.advertise(1);
}
2020-05-05 2:46 pm
Is that from the code you wrote? You may need to post the code you are writing for us to get a better context.
"if (sensorVal, LOW)" is not a valid if statement. Are you wanting to say "if (sensorVal == LOW)" ?