this week was all about coding and arduino we learned the basic logic and steps of coding we used tinkercad, we learned a way to grasp input and save them into variables and use them to get output
i used tinkercad to design my circuit and write my code using code blocks I also used the arduino ide
i used an infrared sensor to switch on and off the lights
i got some help from my peers but it was mostly from the internet one thing that i didn't know is that if i am checking for a changing variable you should check every time before you call it
i faild my first idea because it was hard and the time was limited but my seccond idea worked
now i understand how the baisic code if my project would look like and how to get an input and change it into output
code blocks are easy but unreliable so they are a cool way to start out but don't get too dependant on them