A small game for STM32 (BluePill board) Some information about this game (only Czech) is on this site: https://www.mylms.cz/arduino-hra-kanony-v-kanonu/ See this video: For IO config see program (display config an IO)... All inputs have internal pull-ups.