Author |
Message |
Topic: Interrupt on Change sometimes not triggered |
Bieli
Replies: 2
Views: 12754
|
Forum: General CCS C Discussion Posted: Mon Sep 06, 2021 6:56 am Subject: Interrupt on Change sometimes not triggered |
Hello,
PIC 16F18456
CCS: 5.084
I struggle with IOC because sometimes it is not triggered.
In most situation it is triggered on both edges but sometimes (1 for 100 or less) it is triggered on ... |
Topic: Interrupt on A2 pin |
Bieli
Replies: 4
Views: 14226
|
Forum: General CCS C Discussion Posted: Sat Apr 17, 2021 2:58 pm Subject: Interrupt on A2 pin |
Hi,
You are right I have split and it work.
Thanks for help. |
Topic: Interrupt on A2 pin |
Bieli
Replies: 4
Views: 14226
|
Forum: General CCS C Discussion Posted: Fri Apr 16, 2021 5:13 am Subject: Interrupt on A2 pin |
Hello,
CCS: PCWHD 5,084
PIC 16F15323
I have problem with IOC on A2 pin. Other pins (C0,C1,C2) works fine. Well except it is triggered on both edges.
#include <16F15323.h>
#fuses W ... |
Topic: Switching inLVL register in EUSART |
Bieli
Replies: 1
Views: 9852
|
Forum: General CCS C Discussion Posted: Wed Mar 24, 2021 4:34 pm Subject: Switching inLVL register in EUSART |
Hi,
PIC 16F18456
CCS 5.084
Standard problem 5V PIC and 3.3 UART device. Of course it won't work because PIC input High is >0.8Vdd.
Can I change INLVL register to work as TTL not ST? This ... |
Topic: missing SD FAT card detection during read |
Bieli
Replies: 0
Views: 3496
|
Forum: General CCS C Discussion Posted: Sun Apr 12, 2015 2:25 am Subject: missing SD FAT card detection during read |
Hi,
I'm using SD FAT card library. It works fine but I notice there is some problem when SD card communication occurs during reading binary file. When SD card is initialize it detect is card ok. Bu ... |
Topic: Examine interrupt status |
Bieli
Replies: 5
Views: 6753
|
Forum: General CCS C Discussion Posted: Sun Oct 26, 2014 6:40 am Subject: Examine interrupt status |
Thanks for suggestion.
There was no Interrupt_Enabled() function in my help (5.030) but I found
interrupt_active() looks it work same.
Regards
Bieli |
Topic: Examine interrupt status |
Bieli
Replies: 5
Views: 6753
|
Forum: General CCS C Discussion Posted: Sat Oct 25, 2014 4:09 am Subject: Examine interrupt status |
Hello All,
How can I examine is interrupt is enable or disable?
I use enable_interrupts(INT_TIMER1);, disable_interrupts(INT_TIMER1); to activate or deactivate it but I'd like to check is it on or ... |
Topic: put characters on LCD |
Bieli
Replies: 4
Views: 7732
|
Forum: General CCS C Discussion Posted: Tue Jul 26, 2005 6:24 am Subject: put characters on LCD |
If I remember the #include <lcd.c> should be after #use delay becouse it ise delay function.
#include<16f84a.h>
#fuses NOWDT,PUT,HS,NOPROTECT
#use delay(clock=12000000)// crystal ... |
Topic: how to printf int32? |
Bieli
Replies: 1
Views: 11297
|
Forum: General CCS C Discussion Posted: Wed May 26, 2004 5:01 am Subject: how to printf int32? |
How to convert int32 to print it?
int32 number;
printf(lcd_putc,"Digit %??".number); |
|