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
| // ==UserScript== | |
| // @name Bangumi Tag Rankings | |
| // @namespace https://marstanjx.com | |
| // @version 0.1 | |
| // @description Sort the Tag list | |
| // @author You | |
| // @match https://bangumi.tv/anime/list/*/collect* | |
| // @grant none | |
| // ==/UserScript== |
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 time | |
| import requests | |
| import json | |
| import RPi.GPIO as GPIO | |
| # Define GPIO to LCD mapping | |
| LCD_RS = 7 | |
| LCD_E = 8 | |
| LCD_D4 = 25 | |
| LCD_D5 = 24 |
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
| fHxlZHUuY24KfHxnb3YuY24KfHxhY2Z1bi5jbgp8fGFjZnVuLmNvbQp8fGFpeGlmYW4uY29tCnx8 | |
| MTYzLmNvbQp8fDEyNi5jb20KfHwxMjcubmV0Cnx8bmV0ZWFzZS5jb20KfHwxNjN5dW4uY29tCnx8 | |
| MTI2Lm5ldAp8fHFxLmNvbQp8fHNvc28uY29tCnx8cXBpYy5jbgp8fGd0aW1nLmNuCnx8d2VpeGlu | |
| LmNvbQp8fHFsb2dvLmNuCnx8d2VpYm8uY29tCnx8c2luYWpzLmNuCnx8c2luYS5jb20KfHxzaW5h | |
| LmNuCnx8c2luYS5jb20uY24KfHxzaW5haW1nLmNuCnx8c2luYWpzLmNuCnx8bWlhb3BhaS5jb20K | |
| fHx4aWFva2EudHYKfHx0LmNuCnx8YWxpeXVuLmNvbQp8fHRhb2Jhby5jb20KfHxhbGljZG4uY29t | |
| Cnx8dG1hbGwuY29tCnx8bW1zdGF0LmNvbQp8fHRiY2RuLmNvbQp8fGFsaWJhYmFjbG91ZC5jb20K | |
| fHxhbGlwYXkuY29tCnx8aGljaGluYS5jb20KfHx4aWFtaS5jb20KfHx4aWFtaS5uZXQKfHxiYWlk | |
| dS5jb20KfHxiZHN0YXRpYy5jb20KfHxiY2Vib3MuY29tCnx8YmFpZHVwY3MuY29tCnx8cWlhbnFp | |
| YW4uY29tCnx8aGRzbGIuY29tCnx8YmlsaWJpbGkuY29tCnx8Z2VldGVzdC5jb20KfHxhY2d2aWRl |
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
| const int trigPin = 9; | |
| const int echoPin = 10; | |
| const int ledPin1 = 11; | |
| const int ledPin2 = 12; | |
| const int ledPin3 = 13; | |
| const int buzzPin = 4; | |
| // defines variables | |
| long duration; | |
| int distance; |