Commits

Trammell Hudson committed 9d08586 Draft

delay output a bit

Comments (0)

Files changed (1)

 	while (1)
 	{
 		unsigned off = 0;
+		uint8_t sw = PINA;
+		line[off++] = hexdigit(sw >> 4);
+		line[off++] = hexdigit(sw >> 0);
 
 		// for each pin, set it low and then see which other
 		// pins are pulled low
 		line[off++] = '\r';
 		line[off++] = '\n';
 		usb_serial_write(line, off);
+
+		_delay_ms(250);
 	}
 }