I cannot enter data (number or string) by using this simple "input.bas" example.
The AnnexToolKit serial monitor prompts for the input data but entering eg a number and then pressing <enter> on the keyboard doesn't work.
The program never leaves the input statement line.
I am using 1.44.2 for ESP32
Allan
INPUT statement doesn't work
INPUT statement doesn't work
You do not have the required permissions to view the files attached to this post.
- cicciocb
- Site Admin
- Posts: 2095
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 450 times
- Been thanked: 1385 times
- Contact:
Re: INPUT statement doesn't work
Hi allan,
Devo ammettere di non aver mai provato questa funzione sull'ESP32.
Occorre utilizzare un timeout sufficiente per avere il tempo di poter rispondere alla domanda quindi questo codice qui sotto funziona:
Devo ammettere di non aver mai provato questa funzione sull'ESP32.
Occorre utilizzare un timeout sufficiente per avere il tempo di poter rispondere alla domanda quindi questo codice qui sotto funziona:
Code: [Local Link Removed for Guests]
print time$
print date$
input.timeout 10000
input "numero"; a
print a
input "stringa"; a$
print a$