Having been away from GCB for many years I resurrected a working program that I intend to use for a new application. This program is fairly complex for me and I have forgotten much stuff, it include LCD display, stepper motor driver and various inputs and outputs..
x#startup InitPPP, 80 I understand everything about this but the 80 is passed to the subrtn but I don't see it used in the sub.
Note the x is to prevent large type, it is not in the program.
Thanks for any help.
I am trying to post the source firle but keep getting the list file.
Last edit: Paul Haug 2022-01-15
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Best to read the Help, but, #startup is a compiler directive and not passed as a parameter. It tells the compiler to place the InitPPS as priority 85 in the compilation process. So, leave as is.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Anobium, I understand it is a compiler directive, and the value 85 works but I am one of those detail guys, so I will try to search out in the Help files later, meanwhile on with the modifications (leaving it at 85).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am getting too old, since it has been 3 years since any GCB, I have forgotten much of the stuff. I have my program up and working with a 4 line 20-character LCD, but I seem to remember a debug method (Maybe from another basic program) where you could insert a breakpoint then step and display the variables to my LCD . I have searched much of the help files and examples but to no success.
I suppose I could write some simple code to insert in my program where I need, but any GCB debug would be great.
Thanks in advanced for any help.
See above for program listing.
Paul
Last edit: Paul Haug 2022-01-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Anobium ,As of last night, I pulled one of my previous programs and will be adding HserPrint to work as my debug. I think this 80+ year-old mind of mine is a memory sieve, that stuff I worked on is 4 years ago.
Again, thanks for your guidance.
This is my current BB. Heavy cardboard backing with liberal use of glue gun. Makes it sort of neat, and portable.
Having been away from GCB for many years I resurrected a working program that I intend to use for a new application. This program is fairly complex for me and I have forgotten much stuff, it include LCD display, stepper motor driver and various inputs and outputs..
x#startup InitPPP, 80 I understand everything about this but the 80 is passed to the subrtn but I don't see it used in the sub.
Note the x is to prevent large type, it is not in the program.
Thanks for any help.
I am trying to post the source firle but keep getting the list file.
Last edit: Paul Haug 2022-01-15
Best to read the Help, but, #startup is a compiler directive and not passed as a parameter. It tells the compiler to place the InitPPS as priority 85 in the compilation process. So, leave as is.
Thanks Anobium, I understand it is a compiler directive, and the value 85 works but I am one of those detail guys, so I will try to search out in the Help files later, meanwhile on with the modifications (leaving it at 85).
PS. here is the file for curiosity, I hope. Still getting used to this.
Last edit: Paul Haug 2022-01-15
Should work. :-)
I am getting too old, since it has been 3 years since any GCB, I have forgotten much of the stuff. I have my program up and working with a 4 line 20-character LCD, but I seem to remember a debug method (Maybe from another basic program) where you could insert a breakpoint then step and display the variables to my LCD . I have searched much of the help files and examples but to no success.
I suppose I could write some simple code to insert in my program where I need, but any GCB debug would be great.
Thanks in advanced for any help.
See above for program listing.
Paul
Last edit: Paul Haug 2022-01-17
Paul - I think you had previously added HserPrint debug - see https://sourceforge.net/p/gcbasic/discussion/579126/thread/5ac86912/?limit=25#47e4
Thanks Anobium ,As of last night, I pulled one of my previous programs and will be adding HserPrint to work as my debug. I think this 80+ year-old mind of mine is a memory sieve, that stuff I worked on is 4 years ago.
Again, thanks for your guidance.
This is my current BB. Heavy cardboard backing with liberal use of glue gun. Makes it sort of neat, and portable.
Last edit: Paul Haug 2022-01-21
Looks good and it works!!