View previous topic :: View next topic |
Author |
Message |
emazzu630
Joined: 14 Aug 2018 Posts: 20 Location: Ouro Verde - SC
|
Decimal and Binary at the same time |
Posted: Sat Sep 15, 2018 7:15 pm |
|
|
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
|
|
Posted: Sat Sep 15, 2018 7:21 pm |
|
|
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
|
|
Posted: Tue Jan 01, 2019 6:09 pm |
|
|
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. |
|
|
|