pilar
Joined: 30 Jan 2008 Posts: 197
|
Doubt in the definition of a function |
Posted: Wed Jun 08, 2011 4:21 pm |
|
|
Hi, someone can tell me what my error in the Sample definition of this function?
Code: | #include <18F452.H>
#fuses HS, NOWDT, BROWNOUT, PUT, NOLVP
#use delay(clock=20000000)
#define DAQ0 PIN_C0
void Reset(int DX ){
output_low(DX);
delay_us(500);
output_float(DX);
delay_us(500);
}
void main(){
while (1){
Reset(DAQ0);
}
} |
|
|