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/pat9125_mbed.h
- Committer:
- pixus_mbed
- Date:
- 2017-10-03
- Revision:
- 0:411244c71423
- Child:
- 15:089f1d28d152
File content as of revision 0:411244c71423:
#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
PAT9125EL - Miniature Optical Navigation for Surface Tracking