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
| flex cable adapter https://www.modmypi.com/raspberry-pi/camera/camera-cables/raspberry-pi-zero-camera-cable-300mm/?gclid=CjwKCAiAqvXTBRBuEiwAE54dcM033w19gBKMbzWyG5doXgoc4FeQWvBHkUWxS1RIc4FWj6KAhzZTMRoCAOUQAvD_BwE | |
| onecall: 2510728 pi camera | |
| pizero w https://thepihut.com/collections/raspberry-pi/products/raspberry-pi-zero-w?variant=30332705425 | |
| onecall: MD00820 microsd card 8 GB | |
| weird usb cable https://www.ebay.co.uk/i/263296079842?chn=ps&adgroupid=51456967435&rlsatarget=pla-400778349273&abcId=1130086&adtype=pla&merchantid=113470684&poi=&googleloc=9046887&device=c&campaignid=1029031571&crdt=0 |
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 <ESP8266WiFi.h> | |
| char ssid[] = "WIFI SSID"; | |
| char pass[] = "WIFI PASSWORD"; | |
| IPAddress pbx(192,168,0,60); //ip address of asterisk server | |
| WiFiClient client; | |
| void setup() { | |
| Serial.begin(115200); | |
| Serial.println(); |
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
| /* | |
| Created by Igor Jarc | |
| Modified for emoncms by Kyle Cooke | |
| See http://iot-playground.com for details | |
| Please use community fourum on website do not contact author directly | |
| Code based on https://github.com/DennisSc/easyIoT-ESPduino/blob/master/sketches/ds18b20.ino | |
| External libraries: | |
| - https://github.com/milesburton/Arduino-Temperature-Control-Library |
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
| import sys | |
| import re | |
| from copy import copy | |
| START_STRING = "; G-code START <<<\n" | |
| END_STRING = "; G-code END <<<\n" | |
| X_REGEX = re.compile("X(-?[0-9]+(.[0-9]+)?)") | |
| Y_REGEX = re.compile("Y(-?[0-9]+(.[0-9]+)?)") |