Dependencies:   mbed

Committer:
demo
Date:
Sat Sep 19 18:32:13 2009 +0000
Revision:
0:41f85a3f645d

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
demo 0:41f85a3f645d 1 // Nokia Presenter Bluetooth
demo 0:41f85a3f645d 2 // Copyright (c) 2009 sford
demo 0:41f85a3f645d 3 // Released under the MIT License: http://mbed.org/license/mit
demo 0:41f85a3f645d 4
demo 0:41f85a3f645d 5 #include "mbed.h"
demo 0:41f85a3f645d 6
demo 0:41f85a3f645d 7 #ifndef MBED_NOKIA_PRESENTER_H
demo 0:41f85a3f645d 8 #define MBED_NOKIA_PRESENTER_H
demo 0:41f85a3f645d 9
demo 0:41f85a3f645d 10 class NokiaPresenter {
demo 0:41f85a3f645d 11 public:
demo 0:41f85a3f645d 12 NokiaPresenter(PinName tx, PinName rx, PinName rst);
demo 0:41f85a3f645d 13 char key();
demo 0:41f85a3f645d 14
demo 0:41f85a3f645d 15 protected:
demo 0:41f85a3f645d 16 void at(char *command, char *response);
demo 0:41f85a3f645d 17 Serial _bt;
demo 0:41f85a3f645d 18 DigitalOut _rst;
demo 0:41f85a3f645d 19 };
demo 0:41f85a3f645d 20
demo 0:41f85a3f645d 21 #endif