Group members:
- Edvard Wekre Dingsør
- Havan Palo Darbandi
The project tries to answer the tasks described in the TTK4235 microcontroller lab description.
| Folder | Description |
|---|---|
| 1_gpio | Button 1 turns on the LED matrix and button 2 turns it off. |
| 2_uart | Button 1 and 2 sends respectively 'A' and 'B' to the computer. Button 3 prints a message. Button 4 performs a multiplication. |
| 3_gpiote | Button 1 toggles the LED matrix without CPU usage. |
- Clone this repository.
- Make sure to have the nRF52DK Development Environment set up.
- Navigate to the desired folder.
- Plug in the nRF52832 microcontroller and turn it on.
- For first time use, run
make recover
make
make flash
after first time use, you can skip "make recover".
- On task 2, also run
picocom -b 9600 /dev/ttyACMx
in the terminal, where x should be swapped with either 0, 1 or 2. After that you can interact with the microcontroller through the computer.