i posted device what i use Introduction Project 1 is designed to increase famiarty with Amel Studia, the Atmel So...
Introduction Project 1 is designed to increase famiarty with Amel Studia, the Atmel Software Framework, and te N ELVIS Il electrical test and measurement บnten. In addeen, it as LEDs vd pushbumons (overs concepts such as de-bouncing pushb.nors, ล"d sina ig and sorong with a microcontroler Materials 1 SAMD21 or SAMN25 Xpuined Pro Evaluation Board 2 LED 3300 resistor 4) 10k resistor S Push buttorn hamper wees Breadboar 8 SAMD21 Datasheet Equipment NI ELVIS II (cope Scope probe 3) PC for programming 4USB cable for programming S lash drive to store screenhots of measurements Program ) Write a C program in Atmel tudio that togrles the output of a GRD pin on one of the ecensn headers on your evalation board Use the delay maD fundiion to toggle the output on and off ata feequency of % H玤one second on, one second off). Write a second C program that reads the state of an input pi on one of the etension headers and toggles the output of the Gro pin from part 1each time thingut stategoes low ท veil need to add a delay after you toggle thé pn n 0dย to debo ree the pushbutton what happe% you don't do this (When we cover countenytimn, we will dsouss a better way of de-bouncing that doesn't lock code eseoutionlite the delay routine does) 3) Repeat (2) but toegle when input goes high Calculations ) Give a forward woltage drop of 18V and a forwad current d 15mA or the LED, calculate the optimal reistance of R. What is the voltage drop acrou R? What is the cument through R?