This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "ao.h" | |
| static const uint8_t QUEUE_LENGTH_= 3; | |
| static const uint8_t QUEUE_ITEM_SIZE_ = sizeof(ao_event_t); | |
| struct ao_s | |
| { | |
| QueueHandle_t queue_h; | |
| ao_event_handler_t event_h; | |
| ao_privData_t privData_h; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "0":{ | |
| "day":{ | |
| "description":"Sunny", | |
| "image":"http://openweathermap.org/img/wn/[email protected]" | |
| }, | |
| "night":{ | |
| "description":"Clear", | |
| "image":"http://openweathermap.org/img/wn/[email protected]" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Allows to set arbitrary speed for the serial device on Linux. | |
| * stty allows to set only predefined values: 9600, 19200, 38400, 57600, 115200, 230400, 460800. | |
| */ | |
| #include <stdio.h> | |
| #include <fcntl.h> | |
| #include <errno.h> | |
| #include <asm/termios.h> | |
| int main(int argc, char* argv[]) { |