Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr022 committed Jul 3, 2023
1 parent 66aa453 commit 78e9310
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ mod for printing rx signal level (RSSI) in numerical format, also includes small

Please, consider paying tribute to the two fallen Quashengs that were bricked during the development process. Their sacrifice played a crucial role in shaping this project. To show your appreciation and support for our ongoing work, you can make a [donation](https://paypal.me/sq9p).

## src/pong ![auto release build](https://github.com/piotr022/UV_K5_playground/actions/workflows/c-cpp.yml/badge.svg)
![rssi printer](./docs/pong_game.gif)
this is usless, buggy and funny xD
* download mod [uv_k5_01_26_pong_game_encoded.bin](https://github.com/piotr022/UV_K5_playground/releases/latest)

## flash masking and memory layout
Chinese mcu DP32G030 has feature called flash masking, here is how it works:
![original_memory layout](./docs/memory-map-original-fw.png)
Expand Down
Binary file added docs/pong_game.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/pong/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void MultiIrq_Handler(unsigned int u32IrqSource)
}

static unsigned int u32StupidCounter = 1;
if((!(u32StupidCounter++ % 5) && u32StupidCounter > 200))
if((!(u32StupidCounter++ % 2) && u32StupidCounter > 200))
{
Pong.Handle();
}
Expand Down

0 comments on commit 78e9310

Please sign in to comment.