Update WiFi Version
@@ -35,25 +35,27 @@ The total price for all these together shouldn't go over 5$.
|
|||||||
|
|
||||||
# Step 2: Microcontroller
|
# Step 2: Microcontroller
|
||||||
|
|
||||||
1. Have the microcontroller, jumper wires and UV sensor at hand.
|
1. [Download the source code here](https://git.mosskoi.com/mosskoi/Boktai-uv-sensor-microcontroller)
|
||||||
2. Connect them with jumper wires, GND to GND, VCC to power supply, and SIG to your GPIO with analog read of choice.
|
2. Have the microcontroller, jumper wires and UV sensor at hand.
|
||||||
3. Connect it to your PC via a USB cable.
|
3. Connect them with jumper wires, GND to GND, VCC to power supply, and SIG to your GPIO with analog read of choice.
|
||||||
4. Open Arduino IDE.
|
4. Connect it to your PC via a USB cable.
|
||||||
5. Open the Source code.
|
5. Open Arduino IDE.
|
||||||
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".
|
6. Open the Source code.
|
||||||
7. Check for your pinout and change the value of UV_SIGNAL_READ to that GPIO number.
|
7. 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".
|
||||||
8. Edit SSID to your WiFi's name.
|
8. Check for your pinout and change the value of UV_SIGNAL_READ to that GPIO number.
|
||||||
9. Edit PASS to you WiFi's password.
|
9. Edit SSID to your WiFi's name.
|
||||||
10. Edit HOST to your computer's local IP.
|
10. Edit PASS to you WiFi's password.
|
||||||
11. Flash the code to the microcontroller.
|
11. Edit HOST to your computer's local IP.
|
||||||
|
12. Flash the code to the microcontroller.
|
||||||
|
|
||||||
# Step 3: Lua server
|
# Step 3: Lua server
|
||||||
|
|
||||||
1. Open mGBA
|
1. [Download the source code here](https://git.mosskoi.com/mosskoi/Boktai-mGBA-lua-server)
|
||||||
2. Start emulating the patched rom.
|
2. Open mGBA
|
||||||
3. Under "tools" go to "scripting...".
|
3. Start emulating the patched rom.
|
||||||
4. File and load script.
|
4. Under "tools" go to "scripting...".
|
||||||
5. Select the lua script.
|
5. File and load script.
|
||||||
|
6. Select the lua script.
|
||||||
|
|
||||||
# Step 4: Enjoy the game
|
# Step 4: Enjoy the game
|
||||||
Reboot the microcontroller in case it didn't connect, but reconnection should be handled.
|
Reboot the microcontroller in case it didn't connect, but reconnection should be handled.
|
||||||
|
|||||||
Reference in New Issue
Block a user