Posted: Fri Sep 25, 2020 9:50 am Post subject: Gosub (I), Goto (I), Call (I)
Hi,
my friend is asking is there a way to do in Bascom Gosub (I), or Goto (I), or Call (I) when the number I is changing from 0 to 10 with minimum usage of MCU resources? He has used IF or Select case, but these take too much of MCU resources.
tell your friend to read the help and check out the samples.
especially the ON.. VALUE
Like in the old GW/QB basic ON has a dual purpose : for interrupts but also for numeric values.
The advantage is that no matter the value, the time is always the same. But you can only use numeric values.. _________________ Mark
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum