Update WiFi Version
@@ -8,9 +8,9 @@
|
||||
# Parts
|
||||
This project is divided in 3 parts.
|
||||
|
||||
Patching your Boktai ROM: As mGBA has already an in-emualtor uv sensor, we'll need the patch to disable that and by-pass a "sensor broken" screen.
|
||||
Microcontroller code: Where calibration must be made.
|
||||
Lua Server: mGBA's script
|
||||
Patching your Boktai ROM: As mGBA has already an in-emualtor UV sensor, we'll need the patch to disable that and by-pass a "sensor broken" screen.
|
||||
Microcontroller code: To capture UV light and send information over to the server
|
||||
Lua Server: mGBA's script that runs a server and converts UV signal to in-game sun level
|
||||
|
||||
## You'll need
|
||||
- [X] 1 microcontroller of your choice
|
||||
@@ -34,9 +34,9 @@ The total price for all these together shouldn't go over 5$.
|
||||
|
||||
# Step 2: Microcontroller
|
||||
|
||||
1. With all of them in hand, download the microcontroller source code for this version.
|
||||
2. You can find information on your GPIOs by looking up "<Microcontroller name> pinout" (if you have a Arduino Nano, you would look up "Arduino nano
|
||||
3. Once you have connected the UV sensor to the microcontroller, connect it to your PC via a USB cable.
|
||||
1. Have the microcontroller, jumper wires and UV sensor at hand
|
||||
2. Connect them with jumper wires, GND to GND, VCC to power supply, and SIG to your GPIO with analog read of choice.
|
||||
3. Connect it to your PC via a USB cable.
|
||||
4. Open Arduino IDE.
|
||||
5. Open the Source code.
|
||||
6. Under "Tools" make sure your Board and Serial port are correct, if you your board is not there you'll need to download them on "Board Manager"
|
||||
@@ -55,5 +55,5 @@ The total price for all these together shouldn't go over 5$.
|
||||
5. Select the lua script
|
||||
|
||||
# Step 4: Enjoy the game
|
||||
Reboot the microcontroller in case it didn't connect, I am not handling reconnection at the moment, maybe I should huh.
|
||||
Reboot the microcontroller in case it didn't connect, but reconnection should be handled.
|
||||
:)
|
||||
Reference in New Issue
Block a user