demo demo
/
BluetoothSumo
Diff: NokiaPresenter.h
- Revision:
- 0:41f85a3f645d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/NokiaPresenter.h Sat Sep 19 18:32:13 2009 +0000 @@ -0,0 +1,21 @@ +// Nokia Presenter Bluetooth +// Copyright (c) 2009 sford +// Released under the MIT License: http://mbed.org/license/mit + +#include "mbed.h" + +#ifndef MBED_NOKIA_PRESENTER_H +#define MBED_NOKIA_PRESENTER_H + +class NokiaPresenter { +public: + NokiaPresenter(PinName tx, PinName rx, PinName rst); + char key(); + +protected: + void at(char *command, char *response); + Serial _bt; + DigitalOut _rst; +}; + +#endif