Author |
Message |
Topic: Binary increment in 2 PORT in the PIC |
emazzu630
Replies: 7
Views: 17130
|
Forum: General CCS C Discussion Posted: Sun Apr 12, 2020 10:05 pm Subject: Binary increment in 2 PORT in the PIC |
The "jeremiah" code worked correctly and the "Ttelmah" tip also worked correctly. Thank you for your help! The CCS Forum has been a very useful tool for the CCS programmer. |
Topic: Binary increment in 2 PORT in the PIC |
emazzu630
Replies: 7
Views: 17130
|
Forum: General CCS C Discussion Posted: Sun Apr 12, 2020 1:13 pm Subject: Binary increment in 2 PORT in the PIC |
Jeremiah i'm sorry, it was a lack of communication ... I will explain better: "PORTC has only 6 exits, I need 8 exits. I want to use PORTA's" A0 "and" A1 "to form the 2 remain ... |
Topic: Binary increment in 2 PORT in the PIC |
emazzu630
Replies: 7
Views: 17130
|
Forum: General CCS C Discussion Posted: Sun Apr 12, 2020 12:30 pm Subject: Binary increment in 2 PORT in the PIC |
jeremiah, my code works and yours works too ... But the fact is that my question was not answered, I need help with: How to use 2 PORT to increment 8 bits? |
Topic: Binary increment in 2 PORT in the PIC |
emazzu630
Replies: 7
Views: 17130
|
Forum: General CCS C Discussion Posted: Sun Apr 12, 2020 10:20 am Subject: Binary increment in 2 PORT in the PIC |
How can I use pins "A0" and "A1" to continue counting "PORTC" and complete the 8 bits? Is that possible? I've never seen anything like it, so I have no idea how to do it. ... |
Topic: 16 bits I2C communication between 2 PICs 18F |
emazzu630
Replies: 2
Views: 38187
|
Forum: Code Library Posted: Mon Oct 28, 2019 2:15 pm Subject: Comunicação I2C de 16 bits entre 2 PICs 18F |
I was looking at Google for support to implement I2C and found this post.
The code is exactly what I need, but I had a hard time assembling the
circuit diagram ... Please if anyone has access to t ... |
Topic: Use delay_ms () after the button is released |
emazzu630
Replies: 7
Views: 16758
|
Forum: General CCS C Discussion Posted: Tue Aug 20, 2019 11:02 am Subject: Use delay_ms () after the button is released |
A situação foi resolvida. |
Topic: Use delay_ms () after the button is released |
emazzu630
Replies: 7
Views: 16758
|
Forum: General CCS C Discussion Posted: Sun Aug 18, 2019 7:11 am Subject: Use delay_ms () after the button is released |
What I want comes down to this:
- I have a function shown on the display.
- After pressing a button, the display will show the function of the pressed button.
- When the button is released after a ... |
Topic: Use delay_ms () after the button is released |
emazzu630
Replies: 7
Views: 16758
|
Forum: General CCS C Discussion Posted: Sun Aug 18, 2019 12:27 am Subject: Use delay_ms () after the button is released |
Hello, I need to implement a delay that should count after the button is released,
I've never seen anything of this nature, and the courses always deal with simple examples
and routine. Any tips wou ... |
Topic: How to round the number to the nearest ten? |
emazzu630
Replies: 1
Views: 7873
|
Forum: General CCS C Discussion Posted: Wed Feb 27, 2019 11:49 pm Subject: How to round the number to the nearest ten? |
With the button pressed (AP == 0), counting from 1 to 1 is performed with
the "UP and DOWN" buttons.
With the release button, (AP == 1), the count of 5 to 5 is performed
through the &qu ... |
Topic: Write and read in EEPROM of PIC 16F877A [Solved] |
emazzu630
Replies: 5
Views: 16079
|
Forum: General CCS C Discussion Posted: Sun Feb 24, 2019 5:23 pm Subject: Write and read in EEPROM of PIC 16F877A [Solved] |
After adding the "internal_eeprom.c" library and writing the code below,
with the counter for eeprom from 2 to 256, everything is working correctly
with write and read int16.
if ( ... |
Topic: Write and read in EEPROM of PIC 16F877A [Solved] |
emazzu630
Replies: 5
Views: 16079
|
Forum: General CCS C Discussion Posted: Sat Feb 09, 2019 7:54 am Subject: Write and read in EEPROM of PIC 16F877A [Solved] |
Obrigado PCM programmer, Ttelmah... A ajuda deverá ser importante. |
Topic: Write and read in EEPROM of PIC 16F877A [Solved] |
emazzu630
Replies: 5
Views: 16079
|
Forum: General CCS C Discussion Posted: Fri Feb 08, 2019 11:14 pm Subject: Write and read in EEPROM of PIC 16F877A [Solved] |
Via the "S0" and "S1" button I change the "up" "down" addresses of the
eeprom memory, and "S2" and "S3" to "write" and "rea ... |
Topic: Decimal and Binary at the same time |
emazzu630
Replies: 2
Views: 12175
|
Forum: General CCS C Discussion Posted: Tue Jan 01, 2019 6:09 pm Subject: Decimal and Binary at the same time |
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 corre ... |
Topic: Write and read in the EEPROM of the PIC by means of buttons |
emazzu630
Replies: 2
Views: 9825
|
Forum: General CCS C Discussion Posted: Sun Dec 30, 2018 7:55 am Subject: Write and read in the EEPROM of the PIC by means of buttons |
Preciso montar a estrutura do código para o seguinte problema:
"Em um determinado momento da contagem, clico no botao "REC" e no botao "MEM1" (os dois botoes precisam estar ... |
Topic: Contagem de 5 em 5 no display, de 1 em 1 na 74595 (SOLVED) |
emazzu630
Replies: 6
Views: 18409
|
Forum: General CCS C Discussion Posted: Wed Dec 12, 2018 8:30 pm Subject: Contagem de 5 em 5 no display, de 1 em 1 na 74595 (SOLVED) |
https://drive.google.com/file/d/1bDN7wKL6PqIe5Ip0WewfyfiaK4-7TvCQ/view?usp=sharing
https://drive.google.com/file/d/1wOFQ4_-Ry9jN532YUkag9-YDeCaqXi6H/view?usp=sharing
https://drive.google.com/file/d/ ... |
|