Project

General

Profile

Revision c874b753

IDc874b753fef2ac2d6c20ff79243d2ea33e518a1c
Parent 1af81271
Child d9b50611

Added by Thomas Mullins over 3 years ago

Fixed paintboard code

Added servo initialization and more internal_data array entries

View differences:

paintboard/code/main.c
39 39
  0,
40 40
  0,
41 41
  0,
42
  0,
43
  0,
44
  0,
42 45
  0
43 46
};
44 47

  
......
98 101
  twi_setAddress(TRACKING_ID);
99 102
  twi_init();
100 103
  motor_init();
104
  servo_init();
101 105
  while (1)
102 106
  {
103 107
    internal_data[PAINT_INPUT_1] = !(!(_BV(METAL_DETECT) & PIND));

Also available in: Unified diff