From 1f6d3de400107a6a41902c9ab8c0c1a7fa92c19f Mon Sep 17 00:00:00 2001 From: ma1u20 <ma1u20@soton.ac.uk> Date: Fri, 12 May 2023 20:55:37 +0000 Subject: [PATCH] Upload New File --- createdTasks/skeleton.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 createdTasks/skeleton.c diff --git a/createdTasks/skeleton.c b/createdTasks/skeleton.c new file mode 100644 index 0000000..5dfac1f --- /dev/null +++ b/createdTasks/skeleton.c @@ -0,0 +1,23 @@ +#include "pico/stdlib.h" + +const uint ledPin = 14; +const uint pushButtonPin = 13; + +// TODO: Define a function to get the push button pin +bool getLogicState() { + +} + +int main() { + // Initialize LED pin #Hint to output + + + // Initialize push button pin # Hint as input + + //after that get the logic of the push button and iterate to continuously check the state of the push button. + + + + // dont forget to slepp to delay any issues + return 0; +} -- GitLab