This file contains 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 <SoftwareSerial.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_SSD1306.h> | |
#include <ESP8266WiFi.h> | |
#include <ESP8266WiFiMulti.h> | |
#include <ESP8266HTTPClient.h> | |
#define OLED_RESET LED_BUILTIN | |
SoftwareSerial pmSerial(D7, D8); |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows.Forms; | |
using System.IO.Ports; |
This file contains 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
#!/usr/bin/lua | |
ser=io.open("/dev/ttyUSB0","rb") | |
limit = 30 -- Upload per [limit] second | |
lasttime = 0 | |
csum = 0 | |
function readserial() | |
local ser_char | |
repeat ser_char=ser:read(1) until ser_char~=nil -- Prevent get nil | |
return string.byte(ser_char) | |
end |
This file contains 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
# -*- coding: utf-8 -*- | |
import urllib | |
import requests | |
import json | |
import execjs | |
VIDEO_ID = 'lZnqmZ4ZTP8' | |
START_TOKEN = 'ytplayer.config = ' | |
END_TOKEN = ';ytplayer.load' |
This file contains 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
Road Tool | |
Propping Tool | |
Surface Tool | |
Decoration Tool | |
Asset Editor Settings | |
Billboards | |
Special Billboards | |
Industrial | |
Parks | |
Common |