Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nishtahir/rotom
Pokemon automated egg hatcher without hacking by emulating a Nintendo switch controller over USB.
https://github.com/nishtahir/rotom
Last synced: 23 days ago
JSON representation
Pokemon automated egg hatcher without hacking by emulating a Nintendo switch controller over USB.
- Host: GitHub
- URL: https://github.com/nishtahir/rotom
- Owner: nishtahir
- Created: 2020-12-28T00:03:26.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-12T02:07:57.000Z (almost 4 years ago)
- Last Synced: 2024-04-16T12:46:51.137Z (9 months ago)
- Language: C
- Homepage:
- Size: 243 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rotom
Pokemon automated egg hatcher without hacking
by emulating a Nintendo switch controller over USB.## Requirements
### Hardware
* An STM32F103C8 blupill
* STLinkV2
* Micro USB to USB cable adapter### Software
* Platform IO## Usage
You may run the project via the Platform IO Upload button in the VSCode status bar
or through the CLI command.```
$ platformio run --target upload
```Normal expected output should look somewhat similar to
```
xPack OpenOCD, x86_64 Open On-Chip Debugger 0.10.0+dev-00378-ge5be992df (2020-06-26-12:31)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 1hla_swd
none separatetarget halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800197c msp: 0x20005000
** Programming Started **
** Programming Finished **
** Verify Started **
** Verified OK **
** Resetting Target **
shutdown command invoked
```You may configure the spin duration and number
of iterations to perform before halting by adjusting the following variables```
#define SCRIPT_ITERATIONS 100
#define SPIN_DURATION_MS 720000
```## Notes
This is based on [libOpenCM3](https://libopencm3.org/) and uses a [FreeRTOS](https://www.freertos.org/)
scheduler to run USB communication in parallel with script execution. This is sub optimal in
execution speed but was decided on in order to make it easier to maintain. As a result button press durations are computed in MS rather than ticks.* [STM32 libopencm3 FreeRTOS port by bjwschaap](https://github.com/bjwschaap/platformio-libopencm3-freertos)