CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 47 matches
CCS Forum Index
Author Message
  Topic: PIC16F18323 with pinc_c1 input
zamzam23

Replies: 2
Views: 4326

PostForum: General CCS C Discussion   Posted: Tue Dec 26, 2023 12:13 am   Subject: PIC16F18323 with pinc_c1 input
I solved.

I used dac codes like this.


setup_dac(DAC_OUTPUT | DAC_VSS_VDD);
set_analog_pins(PIN_A0);
  Topic: PIC16F18323 with pinc_c1 input
zamzam23

Replies: 2
Views: 4326

PostForum: General CCS C Discussion   Posted: Mon Dec 25, 2023 11:45 pm   Subject: PIC16F18323 with pinc_c1 input
Hi,
I want to use pin_c1 as an input with dac function actived, but I couldn't.
Pin_c0 can use as an input, it works but C1 couldn't.

when I remove dac codes, pin_c1 can be input.

Can you say ...
  Topic: about 320x240 LCD driver
zamzam23

Replies: 2
Views: 9989

PostForum: General CCS C Discussion   Posted: Tue Sep 10, 2019 8:05 am   Subject: about 320x240 LCD driver
Hi,
I have a 320x240 graphic LCD. It has 14 pins.

Here is it's [url=https://www.datasheetarchive.com/pdf/download.php?id=12e8fc2d3ad701947edc180cf23d650524d4c5&type=P&term=PG320240FRT-MNN- ...
  Topic: wdt with timer0 interrupt with 18f46k22
zamzam23

Replies: 9
Views: 18302

PostForum: General CCS C Discussion   Posted: Wed Jun 12, 2019 7:10 am   Subject: wdt with timer0 interrupt with 18f46k22
thanks for your explanatory answers.

I understood that wdt and timerX are separate systems so I am going to think another way for progress my software.

I cannot detect wdt just before triggers ...
  Topic: wdt with timer0 interrupt with 18f46k22
zamzam23

Replies: 9
Views: 18302

PostForum: General CCS C Discussion   Posted: Wed Jun 12, 2019 4:44 am   Subject: wdt with timer0 interrupt with 18f46k22

The reason is, in the 18F46K22, according to the block diagrams in the
data sheet, there is no connection between Timer0 and WDT.
In older PICs, like the 16F877, yes.


if there is no connect ...
  Topic: wdt with timer0 interrupt with 18f46k22
zamzam23

Replies: 9
Views: 18302

PostForum: General CCS C Discussion   Posted: Wed Jun 12, 2019 1:46 am   Subject: wdt with timer0 interrupt with 18f46k22
of course, here is some part of code. (Complier: v5.055)


#ignore_warnings 203
#include "18f46K22.h"
#DEVICE *=16,PASS_STRINGS=IN_RAM, HIGH_INTS=TRUE
#ROM int16 getenv("EEPR ...
  Topic: wdt with timer0 interrupt with 18f46k22
zamzam23

Replies: 9
Views: 18302

PostForum: General CCS C Discussion   Posted: Tue Jun 11, 2019 7:27 am   Subject: wdt with timer0 interrupt with 18f46k22
hi,
I have used wdt clearly but I couldn't use wdt with timer0 interrupt.
(I want to write message on lcd before reset the card).

I use this code but not working.

setup_timer_0(RTCC_INTER ...
  Topic: strcpy error with working pic18F46K22 and SD Card
zamzam23

Replies: 2
Views: 10517

PostForum: General CCS C Discussion   Posted: Wed Nov 14, 2018 11:30 am   Subject: strcpy error with working pic18F46K22 and SD Card
I have solved equal array size way.

char msg[25]="";
char textt[25]="";
  Topic: strcpy error with working pic18F46K22 and SD Card
zamzam23

Replies: 2
Views: 10517

PostForum: General CCS C Discussion   Posted: Wed Nov 14, 2018 10:53 am   Subject: strcpy error with working pic18F46K22 and SD Card
Hi,
I am working on writing float values to SD card with 18F46K22.
I didn't get error with writes up to 9 characters but when I write 15 characters, I get error just 10 and 11th characters. The othe ...
  Topic: FAT32 code for MultiMedia Cards
zamzam23

Replies: 66
Views: 522120

PostForum: Code Library   Posted: Tue Nov 13, 2018 12:15 am   Subject: FAT32 code for MultiMedia Cards
is this library work with SD cards?
  Topic: PIC18F26k22 communication with INA219B
zamzam23

Replies: 8
Views: 22705

PostForum: General CCS C Discussion   Posted: Thu Mar 16, 2017 10:17 pm   Subject: the working code
hi,
Can you share the last working code for ina219 ? I need read voltage and current with this module.
  Topic: I want to use c# code with ccs complier (?)
zamzam23

Replies: 4
Views: 9371

PostForum: General CCS C Discussion   Posted: Thu May 07, 2015 9:56 am   Subject: I want to use c# code with ccs complier (?)
ok thank you.
  Topic: I want to use c# code with ccs complier (?)
zamzam23

Replies: 4
Views: 9371

PostForum: General CCS C Discussion   Posted: Thu May 07, 2015 9:27 am   Subject: I want to use c# code with ccs complier (?)
of course getDatePrayerTimes() is not c# function.

I have to aske that,

is this structure available in ccs?

String[]getPrayerTimes(i....)
  Topic: I want to use c# code with ccs complier (?)
zamzam23

Replies: 4
Views: 9371

PostForum: General CCS C Discussion   Posted: Thu May 07, 2015 5:42 am   Subject: I want to use c# code with ccs complier (?)
hi

I want to use c# function code with ccs complier. can anybody help me for converting the code?

here is my code:


String[]getPrayerTimes(int year, int month, int day, double la ...
  Topic: reading rotary encoder without interrupts(?)
zamzam23

Replies: 13
Views: 22479

PostForum: General CCS C Discussion   Posted: Wed Feb 11, 2015 8:51 am   Subject: reading rotary encoder without interrupts(?)
because my B port is used for glcd data pins. I cannot use external interrupst and B4-B7 change interrupts.

any way using interrupts for reading encoder?
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group