Skip to content

Instantly share code, notes, and snippets.

View twitch0001's full-sized avatar
💙

twitch7443 twitch0001

💙
View GitHub Profile
This file has been truncated, but you can view the full file.
[07Jun2022 18:24:10.374] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, twitch7443, --version, 1.18.2-forge-40.1.25, --gameDir, C:\Users\twitch\AppData\Roaming\.minecraft, --assetsDir, C:\Users\twitch\AppData\Roaming\.minecraft\assets, --assetIndex, 1.18, --uuid, , --accessToken, ????????, --clientId, , --xuid, , --userType, msa, --versionType, release, --launchTarget, forgeclient, --fml.forgeVersion, 40.1.25, --fml.mcVersion, 1.18.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220404.173914]
[07Jun2022 18:24:10.378] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 9.1.3+9.1.3+main.9b69c82a starting: java version 17.0.1 by Microsoft
[07Jun2022 18:24:10.498] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.onLoad
[07Jun2022 18:24:10.499] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFine ZIP file URL: union:/C:/Users/twitch/AppData/Roaming/.minecraft/mods/OptiFine_1.18.2_HD_U_H7.j
import network
import time
import socket
import uasyncio as asyncio
import usocket
from machine import Pin
from config import SSID, PASSWORD
#include <Servo.h>
// Different states of the system, are used within several functions to decide the sequencing
enum SYSTEM_STATE {
pedestrians_only, // Only pedestrians can cross
cars_only, // Only cars can proceed
gate_only,
none // neither can proceed
};