int i=0;
void setup() {
// put your setup code here, to run once:
//Tos initialize mode/Direction regester
volatile char* mode = (char*)0x30;
*mode = 0xFF; // Initially to as Output
Serial.begin(9600);
Serial.println("Welcome to Serial Monitor");
}
void loop() {
// put your main code here, to run repeatedly:
//Tos set the A0 pin i.e PortF pin to HIGH
volatile char* out= (char*)0x31;
while(1){
//*out ^= (1<<0);
*out &= (~(1<<0));
//*out
}
}