Picbasic pro 3 problem printing variable8/25/2023 ![]() If porta. I expect to display the value B0 initially obtained from section/label: 'LOOK' but instead I get usually) a number '1' or '0'. GOTO look 'keep looking for up-down values and FIREĭebug "PULSE=",dec B0 'show screen B0 value in 'FIRE' modeīutton portc.5,1,255,10,B3,1,show 'go to back to beginning I know this code is a little wanky but I get it to the section (I'll mark it with a '') where I'm displaying, through 'debug', 'PULSE' and a value in variable B0. ![]() Look:BUTTON porta.4,1,255,10,B1,1,Startup 'plus's B0īutton porta.5,1,255,10,B2,1,Startdown 'minus's B0īutton portc.5,1,255,10,B3,1,FIRE 'start looking to check sensor pulseĭEBUG DEC B0 'show value of milliseconds on screen '* Notice : Copyright (c) 2021 *ī0 var byte 'here's where you store #miliseconds If it is then what's the best way to show it on the forum? Not sure if the pasting of the code is infuriating. I know this code is a little wanky but I get it to the section (I'll mark it with a '*') where I'm displaying, through 'debug', 'PULSE' and a value in variable B0.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |