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.
|
#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);
|
|
}
|