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
| [Nest] 27 - 12/22/2024, 2:52:32 AM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)... | |
| Error: connect ENETUNREACH 2406:da18:243:7404:56b2:8f18:3105:a93a:5432 - Local (:::0) | |
| at __node_internal_captureLargerStackTrace (node:internal/errors:496:5) | |
| at __node_internal_exceptionWithHostPort (node:internal/errors:671:12) | |
| at internalConnect (node:net:1100:16) |
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 "arduino.h" | |
| #include "WiFi.h" | |
| #include "Wire.h" | |
| // #include "Battery.h" | |
| #include <WiFiUDP.h> | |
| #include <EEPROM.h> | |
| #define ARDUINO_RUNNING_CORE 1 | |
| // start custom | |
| #define DEFAULT_SSID_LENGTH 16 |
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
| # ===== global ===== | |
| import time, sensor, image , lcd | |
| from Maix import I2S, GPIO | |
| from fpioa_manager import fm | |
| # ===== import controls ===== | |
| from image import SEARCH_EX, SEARCH_DS | |
| from machine import I2C | |
| import time | |
| import VL53L0X |
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
| # ===== global ===== | |
| import time, sensor, image , lcd | |
| from Maix import I2S, GPIO | |
| from fpioa_manager import fm | |
| # ===== import controls ===== | |
| from image import SEARCH_EX, SEARCH_DS | |
| from machine import I2C | |
| import time | |
| import VL53L0X |
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 sensor,image,lcd,time | |
| import KPU as kpu | |
| from Maix import I2S, GPIO | |
| from fpioa_manager import fm | |
| from machine import UART | |
| from time import sleep_ms, ticks_ms, ticks_diff | |
| from image import SEARCH_EX, SEARCH_DS | |
| fm.register(2, fm.fpioa.GPIOHS1) | |
| key_st = GPIO(GPIO.GPIOHS1, GPIO.IN) |
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 <Arduino.h> | |
| void setup() { | |
| // Disable unused peripherals to save power (optional) | |
| // Disable HSI48 oscillator (optional if not used) | |
| RCC->CRRCR &= ~RCC_CRRCR_HSI48ON; | |
| // Enable HSI16 oscillator | |
| RCC->CR |= RCC_CR_HSION; | |
| while ((RCC->CR & RCC_CR_HSIRDY) == 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
| { | |
| "id": 1, | |
| "timestamp": "2023-01-19T08:21:55.360z", | |
| "total_amount": "4100.00", | |
| "result": "จำนวนเงินรางวัล", | |
| "status": "สถานะ รอผล, ไม่ถูกรางวัล, ถูกรางวัล, โพยถูกยกเลิก", | |
| "drawing_date": "งวดวันที่", | |
| "close_date": "ปิดรับวันที่ + เวลา", | |
| "ticket_batch": "xxxx", | |
| "winning_number": [ |
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
| let provinces = [ | |
| 'กรุงเทพฯ', | |
| 'กระบี่', | |
| 'กาญจนบุรี', | |
| 'กาฬสินธุ์', | |
| 'กำแพงเพชร', | |
| 'ขอนแก่น', | |
| 'จันทบุรี', | |
| 'ฉะเชิงเทรา', | |
| 'ชลบุรี', |
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
| <div class="qr-code-generator"> | |
| <input type="text" class="qr-url" placeholder="URL or Text"> | |
| <input type="number" class="qr-size" value="128" min="20" max="500"> | |
| <button class="generate-qr-code">Generate</button> | |
| <br> | |
| <div id="qrcode"></div> |
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
| { | |
| "BEE":{ | |
| "estimate_time":"ภายใน 1 - 2 วัน", | |
| "courier_code":"BEE", | |
| "price":"29", | |
| "available":true, | |
| "remark":"optional", | |
| "err_code":"ERR_DEFAULT", | |
| "courier_name":"BEEExpress" | |
| }, |
NewerOlder