CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Decimal and Binary at the same time

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
emazzu630



Joined: 14 Aug 2018
Posts: 20
Location: Ouro Verde - SC

View user's profile Send private message

Decimal and Binary at the same time
PostPosted: Sat Sep 15, 2018 7:15 pm     Reply with quote

Precisando fazer o PIC contar em 7 segmentos e em binario ao mesmo tempo, mas enviando para (2) 74hc595 a contagem em binario.

---------------------------------------------------------

Needing to make the PIC count in 7 segments and in binary at the same time, but sending to (2) 74hc595 the count in binary.


Last edited by emazzu630 on Tue Jan 01, 2019 6:06 pm; edited 6 times in total
temtronic



Joined: 01 Jul 2010
Posts: 9232
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sat Sep 15, 2018 7:21 pm     Reply with quote

CCS supplies a 'driver' for that chip, and there's an example program in the examples folder.

update:
It's in the 'drivers' folder, called '74595.c'

Jay
emazzu630



Joined: 14 Aug 2018
Posts: 20
Location: Ouro Verde - SC

View user's profile Send private message

PostPosted: Tue Jan 01, 2019 6:09 pm     Reply with quote

Consegui montar o código, e está funcionando corretamente em 16 bits.


----------------------------------------------------

I've already been able to assemble the code, and it's working correctly on 16 bits.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group