The SPI-MEMS example, its not great but it does use the SPI
port and can tell you the temperature of the room you are in.
This commit is contained in:
committed by
Piotr Esden-Tempski
parent
e5585dd07d
commit
4defd3e1d2
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* This include file describes the functions exported by clock.c
|
||||
*/
|
||||
#ifndef __CLOCK_H
|
||||
#define __CLOCK_H
|
||||
|
||||
/*
|
||||
* Definitions for functions being abstracted out
|
||||
*/
|
||||
void msleep(uint32_t);
|
||||
uint32_t mtime(void);
|
||||
void clock_setup(void);
|
||||
|
||||
#endif /* generic header protector */
|
||||
|
||||
Reference in New Issue
Block a user