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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers muri.h Source File

muri.h

00001 
00002 //I2C i2c(p28, p27);
00003 
00004 void init_dio();
00005 void pwm_off(void const *arg);
00006 
00007 void cmd_i2c_write(char* qry, char* data, char* resp);
00008 void cmd_i2c_read(char* qry, char* data, char* resp);
00009 void cmd_i2c_addr_read(char* qry, char* data, char* resp);
00010 void cmd_pmd_setio(char* qry, char* data, char* resp);
00011 void cmd_pmd_write(char* qry, char* data, char* resp);
00012 void cmd_pmd_read(char* qry, char* data, char* resp);
00013 void cmd_pwm_set(char* qry, char* data, char* resp);
00014 void muri(char* uri, char* data, char* resp);
00015