• 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

    towlerg-21522

    ASM Error with USART PIC 16F15325

    Thread Starter: Robertux

    Hello, if i try Hserout or Hserout1 I have a ASM error : Symbol not previously defined (PP_TXIF) With Hserin or Hserin1 the ASM error is : Symbol...

    towlerg Yesterday, 17:58 Go to last post