This repository contains a collection of Arduino projects and exercises developed in Embedded C as part of coursework at Karel de Grote University. The projects range from simple LED and pointer practice to full mini-games like Square, Simon Says, and Lunar Lander. Each project demonstrates different aspects of microcontroller programming, including timing, interrupts, memory management, hardware interaction, and game logic.
square is a dodge an jump game. The user uses the left most button (button 1) to jump then the right most button (button 3) to lie on the ground when an arrow has been shot.
The arrows are fired one by one with an interval that becomes shorter as the game lasts. Where an arrow starts segment (A, G, D) is determined at random.
During the game the user can press button 2 to use a shield in other to aviod been hit. There are 4 lives and 4 shield. Each live lost is indicated by the led and a sound is heard. Likewise every shield used is indicated by the dot on the 7 segment display.
Before the start of the game the player can rotate the potentiometer and its value would be used as a seed for the random.
When all lives are lost (game over) is sound is heard all data recorded during the game are display in the serial monitor
- Libraries
- LED Chaos
- Basic Exercises C
- Morse Trainer
- Second version of morse trainer added
- final version of morse is the folder PW1_Morse Trainer_v2
- Libraries
- Pointers Practice
- pointerPract_1
- stringPract_2
- Timing and Chronology of the ISRs
- Simon Says
- New version of simon says added
- 3.3.1 Example Code Using the Display Library
- 3.3.3 Practice Exercises to test the code
- 3.4.1 Example Code C Memory Management
- 3.5.1 Scrolling Numbers
- 3.5.2 Alphabet on Display
- 3.5.3 Potentiometer on Display
- 3.5.4 Writing lines
- Nim
- Nim_v2 new version of nim added
- 4.2.1 Example Code Buzzer
- 4.3.1 Example Code C Structures
- 4.4.1 Example Code Dynamic Structures
- 4.5.1 Example Code Timers
- 4.6.1 My Synthesizer
- 4.6.2 Wolfgang Arduino Mozart
- Lunar Lander
- struct_inclass_demo