slviajero / tinybasic

A BASIC interpreter for Arduino, ESP, RP2040, STM32, Infineon XMC and POSIX with IoT and microcontroller features.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GET broken (when using fabgl)

pgrobelniak opened this issue · comments

Checking for break character seems to be messing with GET which always returns. Disabling it seem to help, but i can no longer stop my programs :)

de132c8

Wow, thanks for such quick response :) I'm trying to get a character from ps2 keyboard using fabgl lib on esp32. Using this

10 if avail(2) then get a else 10

results in "10: Syntax error" for some reason.

Also i have to press a key few times to make it work for some reason.

Great project btw :)

The code works now but i always get 0. My theory is that kbdcheckch with PS2FABLIB "consumes" the character before i can get it

Fantastic, it works now. Thanks!