Unformatted text preview:

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061newmain.c#define F_CPU 3200000UL#include <avr/io.h>#include <util/delay.h>int main (void){PORTF_DIR = 0b00100000;while (1){PORTF_OUT = 0b00000000;_delay_ms (200);PORTF_OUT = 0b00100000;_delay_ms (200);PORTF_OUT = 0b00000000;_delay_ms (200);PORTF_OUT = 0b00100000;_delay_ms (200);PORTF_OUT = 0b00000000;_delay_ms (200);PORTF_OUT = 0b00100000;_delay_ms (200);_delay_ms (400);PORTF_OUT = 0b00000000;_delay_ms (600);PORTF_OUT = 0b00100000;_delay_ms (200);PORTF_OUT = 0b00000000;_delay_ms (600);PORTF_OUT = 0b00100000;_delay_ms (200);PORTF_OUT = 0b00000000;_delay_ms (600);PORTF_OUT = 0b00100000;_delay_ms (200);_delay_ms (400);PORTF_OUT = 0b00000000;_delay_ms (200);PORTF_OUT = 0b00100000;_delay_ms (200);PORTF_OUT = 0b00000000;_delay_ms (200);PORTF_OUT = 0b00100000;_delay_ms (200);PORTF_OUT = 0b00000000;_delay_ms (200);PORTF_OUT = 0b00100000;_delay_ms (200);_delay_ms (800);}newmain.c https://mplabxpress.microchip.com/mplabcloud/Print/File/51139695-885...1 of 24/23/2021, 1:30 PM6263return (0);}newmain.c https://mplabxpress.microchip.com/mplabcloud/Print/File/51139695-885...2 of 24/23/2021, 1:30


View Full Document

SBU ESE 123 - Lab 7 Code

Download Lab 7 Code
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lab 7 Code and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lab 7 Code 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?