Jump to content
ELFORUM - Forumul electronistilor

Ajutooooor cu BCD


Mar

Recommended Posts

Vreau sa transmit pe USART in BCD pentru ca asa cere LabView. Am vazut o secventa a lui sofian cu eticheta DC dar nu inteleg. Cind se schimba eticheta DC din PIC? Va rog mult ajutati-ma cu o secventa de conversie din hex in BCD.Multumesc

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

  • Cristiano

    1

  • Mar

    1

Popular Days

Top Posters In This Topic

Vreau sa transmit pe USART in BCD pentru ca asa cere LabView. Am vazut o secventa a lui sofian cu eticheta DC dar nu inteleg. Cind se schimba eticheta DC din PIC? Va rog mult ajutati-ma cu o secventa de conversie din hex in BCD.Multumesc

DC: Digit carry/borrow bit (ADDWF, ADDLW, SUBLW, SUBWF instructions)(for borrow, the polarity is reversed)1 = A carry-out from the 4th low order bit of the result occurred0 = No carry-out from the 4th low order bit of the result

Application Note pentru conversii BCD-binar si binar-BCD:http://ww1.microchip.com/downloads/en/A ... /00526.zip
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.Terms of Use si Guidelines