GET https://burning-seri.es/api/series
Result (just a fragment):
[
| $(function () { | |
| var map = L.map('map').setView([51.505, -0.09], 13); | |
| L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { | |
| attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors' | |
| }).addTo(map); | |
| var drawnItems = new L.FeatureGroup(); | |
| map.addLayer(drawnItems); |
| // global state variable | |
| unsigned int coinstate; | |
| // structure for storing the coin changer info | |
| struct COIN_INFO { | |
| byte feature_level; | |
| unsigned int country_code; | |
| byte scaling_factor; | |
| byte decimal_places; | |
| byte type_routing; |
| Serial1 sent 3E, received 3E, OK! | |
| Serial2 sent 3E, received 3E, OK! | |
| Serial3 sent 3E, received 3E, OK! | |
| 3455 bytes sent | |
| Serial1 sent 3F, received 3F, OK! | |
| Serial2 sent 3F, received 3F, OK! | |
| Serial3 sent 3F, received 3F, OK! | |
| 3456 bytes sent | |
| Test mode 12 | |
| Serial1 sent 0, received FFFFFFFF, >>>> FAIL <<<< |
| int modes[30] = { | |
| SERIAL_5N1, | |
| SERIAL_5E1, | |
| SERIAL_5O1, | |
| SERIAL_5N2, | |
| SERIAL_5E2, | |
| SERIAL_5O2, | |
| SERIAL_6N1, | |
| SERIAL_6E1, |
| #!/usr/bin/env python | |
| #---------------------------------------------------------------------------# | |
| # import the various server implementations | |
| #---------------------------------------------------------------------------# | |
| from pymodbus.client.sync import ModbusTcpClient as ModbusClient | |
| from time import sleep | |
| #---------------------------------------------------------------------------# | |
| # configure the client logging |
| int column[8] = {A0,A1,A2,A3,A4,A5,A6,A7}; | |
| int row[8] = {A8,A9,A10,A11,A12,A13,A14,A15}; | |
| int pattern[8] = {0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01}; | |
| /* | |
| void writeByte(int byte, int *port) { | |
| for(int i=0; i<8; i++){ | |
| if(byte & (1<<i)) { |
| #ifndef F_CPU | |
| #define F_CPU 16000000UL | |
| #endif | |
| #include <inttypes.h> | |
| #include <avr/io.h> | |
| #include <util/delay.h> | |
| int main(void) { |