Is there an error in this line? arduino sometimes freezes previousTimeButton=millis(); do { currentTimeButton=millis(); if (currentTimeButton-previousTimeButton>=buttonInterval) { //5000ms geçti yazdirSureBitti=true; break; } } while(digitalRead(yazdirPin)==HIGH);
//Buton basma için zaman geçti if (yazdirSureBitti==false) { print(); } yazdirSureBitti=false; // wdt_reset(); }
Awesome work 👍
Is there an error in this line? arduino sometimes freezes
previousTimeButton=millis();
do
{
currentTimeButton=millis();
if (currentTimeButton-previousTimeButton>=buttonInterval)
{
//5000ms geçti
yazdirSureBitti=true;
break;
}
} while(digitalRead(yazdirPin)==HIGH);
//Buton basma için zaman geçti
if (yazdirSureBitti==false)
{
print();
}
yazdirSureBitti=false; //
wdt_reset();
}
@vangeziyorum9725 the code was not developed for arduino but for attiny85!
Nice project...👍👍👍 can i have source code...😊
thanks a lot!
source code available soon on the website www.tinyjoypad.com ;)
@@ElectroLIB thankyou 👍👍👍
👍👍👍👍👍
you are very fast! ;)
@@ElectroLIB I just got to sleep 7:08 morning stayed late ⏰ with project coming sooner , I need to wake around 9 - 10 am working 🤕
@@DjamalUk 😲 good short night!