Project

General

Profile

Revision 1281

Added by Kevin Woo about 14 years ago

Finished wall init. Calibrates it to the 0 point correctly.

View differences:

main.c
126 126
	while (1);
127 127
	return 0;
128 128
}
129

  
130
int main_kwoo (void)
131
{
132
    dragonfly_init(0);
133
    orb_init_pwm();
134
    
135
    usb_init ();
136

  
137
	usb_puts(NL NL NL);
138
	usb_puts("# Diagnostic station version " version_string " starting" NL);
139

  
140
    wall_init();
141
	while (1) {
142
        if (PINF & _BV(PINF0)) {
143
            orbs_set(0,0,255,0,0,0);
144
        }
145

  
146
    }
147
        
148
	return 0;
149
}

Also available in: Unified diff