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
| from lark import Lark | |
| grammar = r""" | |
| start: _NL* _section+ | |
| _section: _HEADER _content* _HEADER | |
| _HEADER: "--- SECTION ---" _NL | |
| _content: number_list | |
| | assign | |
| | _other | |
| number_list: NUMBER+ _NL |
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 <EEPROM.h> | |
| float tempC; | |
| int reading; | |
| int tempPin = 0; | |
| int EAdress = 0; | |
| void setup () { | |
| analogReference(INTERNAL); | |
| } |
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
| function isTouchDevice(){ | |
| try{ | |
| document.createEvent("TouchEvent"); | |
| return true; | |
| }catch(e){ | |
| return false; | |
| } | |
| } |