ECE 4180 - Final Project Team / Mbed 2 deprecated WalkieTalkie

Dependencies:   mbed 4DGL-uLCD-SE mbed-rtos nRF24L01P

Speaker.h

Committer:
Nurchu
Date:
2018-04-20
Revision:
17:604f9c4bd6d3
Parent:
14:4637a9f02919
Child:
20:e068469ffb89

File content as of revision 17:604f9c4bd6d3:

#include "mbed.h"

class Speaker {
public:
    Speaker(PinName pin);
    void write(uint8_t value);
    
private:
    AnalogOut _pin;
    float dc;
};