Project

General

Profile

Revision 379

Added by Jason knichel about 16 years ago

fixed some style stuff

View differences:

analog.h
37 37
	
38 38
 * @author Colony Project, CMU Robotics Club, based on firefly
39 39
 * code by Tom Lauwers
40
*/
40
 */
41 41

  
42 42
#ifndef _ANALOG_H
43 43
#define _ANALOG_H
......
98 98

  
99 99
/** @brief Struct to hold the value of a particular analog port */
100 100
typedef struct {
101
	uint8_t adc8;
102
	uint16_t adc10;
101
  uint8_t adc8;
102
  uint16_t adc10;
103 103
} adc_t;
104 104

  
105 105

  
106 106
/** @brief Initialize analog ports. Will start running a loop
107
	 if start_conversion is ADC_START.**/
107
    if start_conversion is ADC_START.**/
108 108
void analog_init(int start_conversion);
109 109
/** @brief starts the analog loop. Doesn't do anything if the loop is already running. **/
110 110
void analog_start_loop(void);

Also available in: Unified diff