This is a working HTTP server with I2C, GPIO and PWM commands accessible through URLs. It also includes the ability to serve files from an SD card.
Dependencies: EthernetInterfaceMuri SDFileSystem mbed-rtos mbed
Diff: muri.h
- Revision:
- 1:64f023138627
- Parent:
- 0:28bc7ce77e20
diff -r 28bc7ce77e20 -r 64f023138627 muri.h --- a/muri.h Sat Sep 07 04:43:57 2013 +0000 +++ b/muri.h Fri Dec 06 03:57:29 2013 +0000 @@ -1,8 +1,15 @@ //I2C i2c(p28, p27); +void init_dio(); +void pwm_off(void const *arg); + void cmd_i2c_write(char* qry, char* data, char* resp); void cmd_i2c_read(char* qry, char* data, char* resp); void cmd_i2c_addr_read(char* qry, char* data, char* resp); +void cmd_pmd_setio(char* qry, char* data, char* resp); +void cmd_pmd_write(char* qry, char* data, char* resp); +void cmd_pmd_read(char* qry, char* data, char* resp); +void cmd_pwm_set(char* qry, char* data, char* resp); void muri(char* uri, char* data, char* resp);