- boot with USB
- chroot
sudo manjaro-chroot -a
- install missing linux and linux header
pacman -S linux515 linux515-header
- update grub
sudo manjaro-chroot -a
pacman -S linux515 linux515-header
// ================================================================================================= | |
// 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; |
/* | |
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 |
int gameScreen; | |
float timeStart; | |
float score; | |
float time; | |
float duration=5; //게임 시간 60초 설정 | |
boolean isFailed = false; | |
void setup() { | |
size(500, 500); | |
} |
int x; | |
int y; | |
int size; | |
float posibility; | |
void setup() { | |
size(600, 600); | |
background(0); | |
reset(); |