Menu

#startup InitPPS, 85

Paul Haug
2022-01-15
2022-01-22
  • Paul Haug

    Paul Haug - 2022-01-15

    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
  • Anobium

    Anobium - 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.

     
  • Paul Haug

    Paul Haug - 2022-01-15

    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).

     
  • Paul Haug

    Paul Haug - 2022-01-15

    PS. here is the file for curiosity, I hope. Still getting used to this.

     

    Last edit: Paul Haug 2022-01-15
  • Anobium

    Anobium - 2022-01-15

    Should work. :-)

     
  • Paul Haug

    Paul Haug - 2022-01-17

    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 Haug

    Paul Haug - 2022-01-18

    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
    • Anobium

      Anobium - 2022-01-22

      Looks good and it works!!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.