Author |
Message |
Topic: function return int1? |
Micronet666
Replies: 2
Views: 8995
|
Forum: General CCS C Discussion Posted: Sat Sep 07, 2019 8:24 am Subject: function return int1? |
hi
I have a function that returns an int1 (boolean value).
But when I bring the mouse pointer over the name of the function I see that it shows me that an int8 returns, then that doubt arises, a f ... |
Topic: interrupts UART2 of pic18f46k42 no work |
Micronet666
Replies: 13
Views: 29509
|
Forum: General CCS C Discussion Posted: Thu Aug 29, 2019 5:38 am Subject: interrupts UART2 of pic18f46k42 no work |
Greetings.
In the compiler I found errors in the description of the fuses, they do not match what each fuse means.
In a version of a friend, compile with the CCS version PCH C Compiler, Version 5.0 ... |
Topic: interrupts UART2 of pic18f46k42 no work |
Micronet666
Replies: 13
Views: 29509
|
Forum: General CCS C Discussion Posted: Wed Aug 28, 2019 3:26 pm Subject: interrupts UART2 of pic18f46k42 no work |
if it seems to be a bug, because uart1 works normal with default pins, but uart2 I am assigning pins PIN_D3 and PIN_D0 and it is the one that does not respond to the interruption.
the pic is the 18 ... |
Topic: interrupts UART2 of pic18f46k42 no work |
Micronet666
Replies: 13
Views: 29509
|
Forum: General CCS C Discussion Posted: Wed Aug 28, 2019 2:36 pm Subject: interrupts UART2 of pic18f46k42 no work |
This is the code I use, UART2 does not generate interruption when I send a character.
CCS PCH C Compiler, Version 5.076, xxxxx
#include <18F46K42.h>
//#device *=16
//#ZERO_RAM
#fuses N ... |
Topic: interrupts UART2 of pic18f46k42 no work |
Micronet666
Replies: 13
Views: 29509
|
Forum: General CCS C Discussion Posted: Wed Aug 28, 2019 8:22 am Subject: interrupts UART2 of pic18f46k42 no work |
Regards, I am programming pic 18f46k42, using UART1 and UART2, but UART2 does not generate interruption when it comes to data.
#pin_select U1TX=pin_C6
#pin_select U1RX=pin_C7
#use rs232& ... |
|