//practice 24-01-24
//ESP set 2
void setup() {
  // put your setup code here, to run once:
  volatile char *dirf;
                 dirf=0x30;
                 *dirf=0xff;
  

}
void loop() {
  // put your main code here, to run repeatedly:
  volatile char *outf;
  volatile long i=0,a[10]={7,224,24};
                 outf=0x31;
                 *outf=0x80;
                 count();
                 *outf=0xC0;
                 count();
                 *outf=0xE0;
                 count();
                 *outf=0xFF;
                 count();
                 
                
                
}
void count()
{
  volatile long j;
  for(j=0;j<900000;j++);
}