• PicŪ Basic


  • Re-initialise LCD

    Sometimes, for one reason or another, an LCD may lose its way such as displaying random characters. At these times it can be useful to re-initialise the display.
    This is how Rick of rcurl reported a previous suggestion from Les.

    You must first bring the BPFsystem variable into the BASIC program.

    Dim BPF as Byte SYSTEM

    Then either clear bit 0 of it or clear the whole variable: -

    Clear BPF

    This will force the compiler's LCD subroutine to do an initialisation of the LCD whenever PRINT, CLS, or CURSOR is used.
  • Recent Activity

    hadv215-2509

    PicKit3 Programmer

    Thread Starter: Dave-S

    Trying to setup a PicKit3 Programmer. Has gone through the install programmer and the Dos screen flashes up but does not stay there, and it does not...

    hadv215 Today, 11:13 Go to last post
    Dave-S-350

    UMC Loader

    Thread Starter: Dave-S

    Trying to use the MicroCode loader, but when I select either Loader or Loader Options from the "View" menu it just opens my Melabs Programmer. How...

    Dave-S Today, 15:23 Go to last post