Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed pat9125_mbed
Diff: pat9125_mbed/pat9125_mbed.h
- Revision:
- 0:411244c71423
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pat9125_mbed/pat9125_mbed.h Tue Oct 03 07:26:38 2017 +0000 @@ -0,0 +1,30 @@ +#ifndef PAT9125_MBED_H +#define PAT9125_MBED_H +#include "stdint.h" +#include "mbed.h" +#include "pat9125_i2c.h" +#include "pixart_lcm.h" + +typedef uint8_t boolean; +typedef struct +{ + pat9125_i2c *p_i2c; + Serial *p_pc ; + DigitalIn *pBTN_L ; + DigitalIn *pBTN_R ; + InterruptIn *pINT ; + DigitalOut *pRLED ; + DigitalOut *pGLED ; + pixart_lcm *pLCM ; + uint8_t slave_id ; + boolean sen_status ; +} pat9125_mbed_state_s; + +class pat9125_mbed +{ + public: + pat9125_mbed(pat9125_mbed_state_s *state) ; + void task() ; +}; + +#endif \ No newline at end of file