Mikroelektronika MIKROE-350 データシート
![Mikroelektronika](https://files.manualsbrain.com/attachments/e0529b3b58069a916ad7bb89f7e9f5f0eda73421/common/fit/150/50/1b07b99aa3112e022a916b06db07f1f4f211e91d41878452d87c7638b1bf/brand_logo.gif)
else
' Pressed key is same as previous
Inc(cnt)
end if
Lcd_Chr(1, 10, kp)
Lcd_Chr(1, 10, kp)
' Print key ASCII value on Lcd
if (cnt = 255) then
' If counter varialble overflow
cnt = 0
Lcd_Out(2, 10, " ")
Lcd_Out(2, 10, " ")
end if
WordToStr(cnt, txt)
' Transform counter value to string
Lcd_Out(2, 10, txt) ' Display counter value on Lcd
wend
end.
238
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6