Commits

Anonymous committed 4b11871

Added test code.

Comments (0)

Files changed (2)

+/**  Project:    Wacky Racers
+  *  Subproject: Image sensor and WiFi board firmware
+  *  Authors:    Lazar Sumar, 
+  *              Regan Gunther,
+  *              Tracy Jackson
+  *
+  *  Company:    University of Canterbury
+  *  Department: Electrical and Computer Engineering
+  *  Course:     Computer Hardware II (ENEL429)
+  *
+  *  Group:         3
+  *  Group members: Lazar Sumar,
+  *                 Simon Gow,
+  *                 Tracy Jackson,
+  *                 Sean Thomas,
+  *                 Regan Gunther,
+  *                 Jared Hall
+  *
+  *  File:             main.c
+  *  File description: Program start point.
+  */
+
+#define F_CPU 1000000UL /* 1 MHz Internal Oscillator */
+
+#include <avr/io.h>
+#include <util/delay.h>
+
+int main(void) {
+	DDRC |= 1<<PC6;
+
+	while (1) {
+		_delay_ms(125);
+		_delay_ms(125);
+		PORTC ^= 1<<PC6;
+	}
+	
+	return 0;
+}
 # Course:     Computer Hardware II (ENEL429)
 #
 # Group:         3
-# Group Members: Lazar Sumar,
+# Group members: Lazar Sumar,
 #                Simon Gow,
 #                Tracy Jackson,
 #                Sean Thomas,