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

muri.h

Committer:
gsteiert
Date:
2013-12-06
Revision:
1:64f023138627
Parent:
0:28bc7ce77e20

File content as of revision 1:64f023138627:


//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);