Instead it just makes a quick pop sound every time it should start outputting, then silence until defined time passes and loop repeats. ![]() I somehow cant get Arduino to output at certain frequency for defined amount of time. ![]() Then I found out about tone, so now the whole code uses millis with tone. So what Ive done is converted everything to millis, but the original code for making square waves was so complicated for me, that I failed with converting it. However, I want to use momentary pushbutton and leds (preferably with some animation, like slow fading away etc…), and that requires the Arduino to multitask - use millis. ![]() What Im trying to make - instructables (yes, this Instructable is “stolen” from original author, but instructions are more clearer there)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |