Author |
Message |
Topic: 16F1823 IOC interrupt |
sebalitter
Replies: 16
Views: 1806
|
Forum: General CCS C Discussion Posted: Sat Nov 09, 2024 8:20 am Subject: 16F1823 IOC interrupt |
So, as I said, you need to show us the first few lines of this file,
functions.c
void Blink_Led (void);
void Blink_CO_Led(void ... |
Topic: 16F1823 IOC interrupt |
sebalitter
Replies: 16
Views: 1806
|
Forum: General CCS C Discussion Posted: Sat Nov 09, 2024 7:42 am Subject: 16F1823 IOC interrupt |
Two things.
First, your include of the lcd driver should be after the fuses.
The sequence should always be:
Processor
Fuses
Clock
Then and only then other includes.
The fuses and clock ... |
Topic: 16F1823 IOC interrupt |
sebalitter
Replies: 16
Views: 1806
|
Forum: General CCS C Discussion Posted: Fri Nov 08, 2024 4:24 pm Subject: A #DEVICE required |
For the forum. What is working and what you did to make it work? Maybe your code? It will help others for sure.
im trying to Sends a message when the power is cut off.
For this, use the interrup ... |
Topic: 16F1823 IOC interrupt |
sebalitter
Replies: 16
Views: 1806
|
Forum: General CCS C Discussion Posted: Mon Nov 04, 2024 4:29 pm Subject: 16F1823 IOC interrupt |
As always, the basic 1s blink led is useful to tell if timings and settings are ok and that your Pic is alive. An example is maybe two threads down. So two questions. Does your Pic work with the desir ... |
Topic: 16F1823 IOC interrupt |
sebalitter
Replies: 16
Views: 1806
|
Forum: General CCS C Discussion Posted: Mon Nov 04, 2024 3:18 pm Subject: 16F1823 IOC interrupt |
As a side note. Main should do all the heavy work, interrupts are there just to tell the main what to do. It depends on what you are trying to control, but it is always a good idea to run your pic as ... |
Topic: 16F1823 IOC interrupt |
sebalitter
Replies: 16
Views: 1806
|
Forum: General CCS C Discussion Posted: Mon Nov 04, 2024 12:09 pm Subject: 16F1823 IOC interrupt |
Hello
the IOC_A4 interrupt is no working correctly on switching states
PCH v5.115.
Any ideas?
#include <16F1823.h>
#device adc=10
#fuses INTRC_IO NOWDT BROWNOUT PUT NOLVP
... |
Topic: Interrupt variable type |
sebalitter
Replies: 8
Views: 25047
|
Forum: General CCS C Discussion Posted: Wed May 20, 2020 8:19 am Subject: Interrupt variable type |
quik answer...
According to the manual the clear_interrupt(...) function requires a CONSTANT not a variable.... so you MUST put the 'name' of the interrupt you're using.
The PIC header file will hav ... |
Topic: Interrupt variable type |
sebalitter
Replies: 8
Views: 25047
|
Forum: General CCS C Discussion Posted: Wed May 20, 2020 7:52 am Subject: Interrupt variable type |
Hi
what kind of variable should i put to toggle between two INTERRUPT types like INT_IOC_A3_H2L and INT_IOC_A5_H2L.
let me explain what i have in mind.
int32 interrupcion = INT_IOC_A3_ ... |
Topic: Flexible "I2C" LCD driver (PCF8574T) by Hugo Silva |
sebalitter
Replies: 15
Views: 118648
|
Forum: Code Library Posted: Fri Mar 20, 2020 8:25 pm Subject: Flexible "I2C" LCD driver (PCF8574T) by Hugo Silva |
Does this library work in Proteus? |
Topic: rs232 in header |
sebalitter
Replies: 21
Views: 39193
|
Forum: General CCS C Discussion Posted: Tue Feb 18, 2020 9:04 am Subject: out of rom |
I have a restricted ROM. Someone has any ideas to solve this issue ?
Everything in the code is strictly necessary.
Error#71 Out of ROM, A segment or the program is too large MAIN
Seg 00042- ... |
Topic: rs232 in header |
sebalitter
Replies: 21
Views: 39193
|
Forum: General CCS C Discussion Posted: Sat Feb 15, 2020 11:19 am Subject: rs232 in header |
Thank you. With A6 module works perfect. it a bit more expensive but it saves me lots of time.
I have other issue...
Error#7 Invalid Pre-Processor directive Invalid Pin
i didn found #pin_s ... |
Topic: rs232 in header |
sebalitter
Replies: 21
Views: 39193
|
Forum: General CCS C Discussion Posted: Tue Jan 28, 2020 12:35 pm Subject: rs232 in header |
I could see the messages in the PC via RS232.
The problem is +CREG: 1,3 (registration denied). |
Topic: rs232 in header |
sebalitter
Replies: 21
Views: 39193
|
Forum: General CCS C Discussion Posted: Fri Jan 24, 2020 8:32 am Subject: rs232 in header |
You have a voltage problem.
The SIM800, is a 3.3v device (actually supports 4.4v maximum).
The boards supplied for things like the Arduino, have a regulator to give
the 3.3v, but they don't have a ... |
Topic: rs232 in header |
sebalitter
Replies: 21
Views: 39193
|
Forum: General CCS C Discussion Posted: Fri Jan 24, 2020 6:08 am Subject: rs232 in header |
Is that module designed to be operated at 5 volts ?
Most peripheral devices are 3 volts and need 'logic level converters' to properly connect to 5 volt PICs.
If you have a 'link' to the module we ... |
Topic: rs232 in header |
sebalitter
Replies: 21
Views: 39193
|
Forum: General CCS C Discussion Posted: Fri Jan 24, 2020 5:56 am Subject: rs232 in header |
Always best to start with the hardware
1) what is the VDD of the PIC ?
2) what is the VDD of the SIM800L?
3) is the SIM800L a 'chip' or a 'module' ?
4) What is the rating of the power supply in ... |
|