diff options
| author | Markus Mittendrein <git@maxmitti.at> | 2025-02-25 23:37:17 +0100 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.at> | 2025-02-25 23:39:45 +0100 |
| commit | 1b3d654c764b25cdd979acca0c956564cfe8358d (patch) | |
| tree | 25b08bca9fb82d4bc7b293d273dc095207e9d0d8 /main.cpp | |
| download | msp432_test-1b3d654c764b25cdd979acca0c956564cfe8358d.tar.gz msp432_test-1b3d654c764b25cdd979acca0c956564cfe8358d.zip | |
Diffstat (limited to 'main.cpp')
| -rw-r--r-- | main.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..b7db9bc --- /dev/null +++ b/main.cpp @@ -0,0 +1,13 @@ +#include <device/gpio.hpp> + +int main() +{ + setupOutputs(); + + for (std::uint8_t i = 0;; ++i) + { + writeOutputs(i % 8); + + for (volatile std::uint16_t delay = 0; delay < 10000; ++delay); + } +} |
