buzzer test (note changed from piezo to buzzer for volume)

Dependencies:   mbed

main.cpp

Committer:
Owenmatthewmcgowan
Date:
2017-05-23
Revision:
0:8520c16e2880

File content as of revision 0:8520c16e2880:

#include "mbed.h"
DigitalOut buzzer(PTC9);
DigitalOut gnd(PTC11);

int main() {
     gnd = 0;
     buzzer = 1;
    while(1) { }
}