serial out variable


Closed Thread
Results 1 to 3 of 3
  1. #1

    Default serial out variable

    I am using the Melabs serial lcd 20 x 4 LCD, works great. I've been able to display text, but have searched the forum and can not find any tip or tricks to display the value of a variable so I can see what it is doing. Any suggestions? Thank you.

  2. #2
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by tazntex View Post
    I am using the Melabs serial lcd 20 x 4 LCD, works great. I've been able to display text, but have searched the forum and can not find any tip or tricks to display the value of a variable so I can see what it is doing. Any suggestions? Thank you.
    Since you're using a SERIAL LCD and you have to use the SEROUT command to get it to do anything, I think you answer is right there in the PBP manual under the SEROUT command. Look at the DEC, BIN, HEX modifiers...

  3. #3

    Default

    Your a genius Skimask, I read that part before but now it makes sense. Works great, thank you.

Similar Threads

  1. EEPROM Variables (EE_Vars.pbp)
    By Darrel Taylor in forum Code Examples
    Replies: 79
    Last Post: - 26th October 2012, 00:06
  2. Replies: 33
    Last Post: - 19th March 2010, 03:02
  3. Dynamic USB Serial Number (PIC18F4550)
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 16th July 2009, 17:03
  4. AN Question for "word" variable read The serial port
    By redfoen in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 14th December 2007, 17:39
  5. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 20:36

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts