Jump to content

Receive string '?f' and clear the LCD in PIC16F648A

- - - - -

  • Please log in to reply
3 replies to this topic

#1
project168

project168

    Newbie

  • Members
  • PipPip
  • 14 posts
Is there a program which provides this compiling method?

Edited by project168, 03 April 2011 - 07:28 AM.


#2
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,705 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
Read from Rcv_Byte, and if it's '?' (0x3F) then jump to an alternate state where you wait for the next incoming byte. If that's 'f' (0x66) then clear the LCD screen, otherwise handle it a different way, e.g. throwing an error or something.
sudo rm -rf /

#3
project168

project168

    Newbie

  • Members
  • PipPip
  • 14 posts

dargueta said:

Read from Rcv_Byte, and if it's '?' (0x3F) then jump to an alternate state where you wait for the next incoming byte. If that's 'f' (0x66) then clear the LCD screen, otherwise handle it a different way, e.g. throwing an error or something.

How would I write that? Can you show me how I would implement what you said the coding?

I am novice with assembly coding but if you can help me that would be great.

#4
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,705 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
Considering you wrote all of that code above, I should be asking you that question.
sudo rm -rf /




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users