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@2:5c9ce3b50de6, 2013-12-06 (annotated)
- Committer:
- gsteiert
- Date:
- Fri Dec 06 03:59:01 2013 +0000
- Revision:
- 2:5c9ce3b50de6
- Parent:
- 1:64f023138627
Publishing project
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gsteiert | 0:28bc7ce77e20 | 1 | |
gsteiert | 0:28bc7ce77e20 | 2 | //I2C i2c(p28, p27); |
gsteiert | 0:28bc7ce77e20 | 3 | |
gsteiert | 1:64f023138627 | 4 | void init_dio(); |
gsteiert | 1:64f023138627 | 5 | void pwm_off(void const *arg); |
gsteiert | 1:64f023138627 | 6 | |
gsteiert | 0:28bc7ce77e20 | 7 | void cmd_i2c_write(char* qry, char* data, char* resp); |
gsteiert | 0:28bc7ce77e20 | 8 | void cmd_i2c_read(char* qry, char* data, char* resp); |
gsteiert | 0:28bc7ce77e20 | 9 | void cmd_i2c_addr_read(char* qry, char* data, char* resp); |
gsteiert | 1:64f023138627 | 10 | void cmd_pmd_setio(char* qry, char* data, char* resp); |
gsteiert | 1:64f023138627 | 11 | void cmd_pmd_write(char* qry, char* data, char* resp); |
gsteiert | 1:64f023138627 | 12 | void cmd_pmd_read(char* qry, char* data, char* resp); |
gsteiert | 1:64f023138627 | 13 | void cmd_pwm_set(char* qry, char* data, char* resp); |
gsteiert | 0:28bc7ce77e20 | 14 | void muri(char* uri, char* data, char* resp); |
gsteiert | 0:28bc7ce77e20 | 15 |