You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
piklab/test/sdcc18/test18.c

15 lines
182 B

#include <pic18f452.h>
void main(void)
{
float f = TRISA;
int a = TRISB;
LATA = 0xFF;
LATAbits.LATA1 = 0;
// UIE = 0x55;
f /= a;
a = f;
TRISA = a;
while(1);
}