- Device: Lenovo ThinkPad X1 Nano Gen 2
- CPU: Intel Core i7-1280P (Alder Lake, 12th Gen)
- Camera ISP: Intel IPU6
- OS: EndeavourOS (Arch-based)
- Kernel: 6.19 (tested), 6.18 LTS
- Desktop: Hyprland (Wayland)
- boot with USB
- chroot
sudo manjaro-chroot -a
- install missing linux and linux header
pacman -S linux515 linux515-header
- update grub
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
| // ================================================================================================= | |
| // eModbus: Copyright 2021 by Michael Harwerth, Bert Melis and the contributors to ModbusClient | |
| // MIT license - see license.md for details | |
| // ================================================================================================= | |
| // Includes: <Arduino.h> for Serial etc. | |
| #include <Arduino.h> | |
| #include "ModbusServerEthernet.h" | |
| // Define Ethernet-based server | |
| ModbusServerEthernet MBserver; |
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
| /* | |
| The device I'm using is https://myduino.com/product/tgo-007/ | |
| Before compiling make a WPA_secrets.h file with the following two lines | |
| const char* SECRET_SSID = "your ssid"; | |
| const char* SECRET_WIFI_PASS = "your WPA pass"; | |
| Libraries: | |
| modbus: https://github.com/eModbus/eModbus (and it's dependencies) | |
| display: https://github.com/Xinyuan-LilyGO/TTGO-T-Display |
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
| int gameScreen; | |
| float timeStart; | |
| float score; | |
| float time; | |
| float duration=5; //게임 시간 60초 설정 | |
| boolean isFailed = false; | |
| void setup() { | |
| size(500, 500); | |
| } |
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
| int x; | |
| int y; | |
| int size; | |
| float posibility; | |
| void setup() { | |
| size(600, 600); | |
| background(0); | |
| reset(); |
NewerOlder