Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
freq = dur + i*65536; /* calculate the frequency as in previous equation */
int keyhit()
{
if(!PIN1) return 1;
if(!PIN2) return 2;
return 0;
}
int keyhit()
{
int key=0;
if(!PIN1) key += 1;
if(!PIN2) key += 2;
if(key) delayMs(200);
return key
}