DEBUG command
aviator3.1
Posts: 20
I'm new to programing in PBasic and I'm working on a project with the BS2
I would like to have the information displayed in the debug window to clear itself and update with the new data,
In my specific case I'm using a DS1620 Temperature Sensor to record values and I would like to keep the header
DEBUG "
", CR
DEBUG " Tempurature Reading ", CR
DEBUG "
", CR
on top of the screen and not have a new line appear every time it records a new temperature with the new value.
I know the way I have the program written now it is set up to do just that as shown in the pic but I would like again to keep the header
have the temp reading update verses display the new value on the next line.
My code is attached below. I know it isn't the best of code but it works for now for what i need it to do I would just like to figure out this last piece.
Thank you
I would like to have the information displayed in the debug window to clear itself and update with the new data,
In my specific case I'm using a DS1620 Temperature Sensor to record values and I would like to keep the header
DEBUG "
", CR
DEBUG " Tempurature Reading ", CR
DEBUG "
", CR
on top of the screen and not have a new line appear every time it records a new temperature with the new value.
I know the way I have the program written now it is set up to do just that as shown in the pic but I would like again to keep the header
have the temp reading update verses display the new value on the next line.
My code is attached below. I know it isn't the best of code but it works for now for what i need it to do I would just like to figure out this last piece.
Thank you
Comments
Thanks