Author |
Message |
Topic: GLCD driver and DSPIC |
Lemosek
Replies: 3
Views: 4640
|
Forum: General CCS C Discussion Posted: Thu Jan 03, 2013 4:56 pm Subject: GLCD driver and DSPIC |
Hello,
No one using dsPIC ??.
I think I must change data=input_d to
if(input(PIN_d0)) bit_set(data,0);
else
bit_clear(data,0);
etc...
But, I'm think over ... |
Topic: GLCD driver and DSPIC |
Lemosek
Replies: 3
Views: 4640
|
Forum: General CCS C Discussion Posted: Wed Jan 02, 2013 4:29 am Subject: GLCD driver and DSPIC |
Hello, thanks for reply.
Ok i understand this. I write 16bit to 8bit variable so I write 8 LSB.
But when i use this command, I change direction of all pins at port.
So how I can use other pins at t ... |
Topic: GLCD driver and DSPIC |
Lemosek
Replies: 3
Views: 4640
|
Forum: General CCS C Discussion Posted: Tue Jan 01, 2013 1:39 pm Subject: GLCD driver and DSPIC |
Hello,
I want connect GLCD to dsPic6010A but I don't known how.
At PIC18F I using HDM64GS12.c driver and works ok, but in dsPIC port is 16bit.
For example command
data = input_d(); // ... |
Topic: 18f4580 PWM config |
Lemosek
Replies: 2
Views: 4160
|
Forum: General CCS C Discussion Posted: Sun Dec 16, 2012 11:37 am Subject: 18f4580 PWM config |
Hello,
Thank You Ttelmah now it's working but I must also change CCP1 to CCP2.
Best regards
R.L. |
Topic: 18f4580 PWM config |
Lemosek
Replies: 2
Views: 4160
|
Forum: General CCS C Discussion Posted: Sun Dec 16, 2012 8:20 am Subject: 18f4580 PWM config |
Hello,
I need a PWM on pin P1A(RD4). This is output ECCP.
I don't know how I must configure this module.
I tried something like this:
// TImer2 used for system ticks
// post = 4, period = 250 ... |
Topic: Writing optimized interrupt programing? |
Lemosek
Replies: 5
Views: 7147
|
Forum: General CCS C Discussion Posted: Thu Nov 01, 2012 7:15 am Subject: Writing optimized interrupt programing? |
Hello,
You must use software timers like :
#INT_TIMER1
void t1_interrupt(void){
int16 x;
x=Timer1;
if(x) Timer1 = --x;
x=Timer2;
if(x) Timer2 = ... |
Topic: Standard C function for strings |
Lemosek
Replies: 4
Views: 6042
|
Forum: General CCS C Discussion Posted: Sun Oct 07, 2012 11:50 am Subject: Standard C function for strings |
Hello,
Thank You very much, this is exactly what I need .
best regards
R.L. |
Topic: Standard C function for strings |
Lemosek
Replies: 4
Views: 6042
|
Forum: General CCS C Discussion Posted: Sat Oct 06, 2012 9:49 am Subject: Standard C function for strings |
Hello,
Thank You for reply.
Yes this function doing this but for all string. In function strncmp I have third parameter s3 - number of characters from each string to be used in the comparison.
Be ... |
Topic: Standard C function for strings |
Lemosek
Replies: 4
Views: 6042
|
Forum: General CCS C Discussion Posted: Sat Oct 06, 2012 5:37 am Subject: Standard C function for strings |
Hello,
I have small problem. I want compare two string and i find strncasecmp function, but in CCS is only strncmp. This function recognize big and small symbols, like A is not a. In my program I don ... |
Topic: Problem with definition of function |
Lemosek
Replies: 4
Views: 7220
|
Forum: General CCS C Discussion Posted: Thu Jun 21, 2012 9:49 am Subject: Problem with definition of function |
Hello,
dear Ttelmah thank You for Your answer and help now is ok.
Best regards
R.L. |
Topic: Problem with definition of function |
Lemosek
Replies: 4
Views: 7220
|
Forum: General CCS C Discussion Posted: Tue Jun 19, 2012 1:54 pm Subject: Problem with definition of function |
Hello,
I write simple test code but I have error:
Function definition different from previous definition
I use similar code at gcc compiler and it works.
What I'm doing wrong at CCS ??
Best reg ... |
Topic: communication with Vinculum VNC2 VDAP rom |
Lemosek
Replies: 1
Views: 4349
|
Forum: General CCS C Discussion Posted: Wed May 02, 2012 10:14 am Subject: communication with Vinculum VNC2 VDAP rom |
Hello,
Can someone explain to me how write some data (string) to data.txt file on flash drive. I use V2DIP1-32 and PIC 16f1936. At vnc2 I have installed VDAP rom.
Best regards
R.L. |
Topic: RTOS and CAN 18f2580 |
Lemosek
Replies: 1
Views: 4388
|
Forum: General CCS C Discussion Posted: Tue Mar 20, 2012 11:09 am Subject: RTOS and CAN 18f2580 |
Hello, I have strange problem. I write a simple code:
#include <18F2580.h>
#fuses HS, NOPROTECT, PUT, BROWNOUT, NOWDT, NOLVP
#use delay(clock=20M)
#use rtos(timer=1,minor_cycle ... |
Topic: can at PIC33FJ128MC708A |
Lemosek
Replies: 0
Views: 2879
|
Forum: General CCS C Discussion Posted: Sat Feb 18, 2012 10:10 am Subject: can at PIC33FJ128MC708A |
Hello,
I interested in uP PIC33FJ128MC708A but at Driver folder CCS, I see only driver for CAN of PIC30.
Is this driver working with PIC33 ??
Best regards
R.L. |
Topic: setup_timer_2( ) |
Lemosek
Replies: 4
Views: 10708
|
Forum: General CCS C Discussion Posted: Fri Feb 17, 2012 11:46 am Subject: setup_timer_2( ) |
Hello,
At this link:
http://www.ccsinfo.com/forum/viewtopic.php?t=44557&highlight=timer2
Mr. Ttelmah explain how to set timer2.
Best regards
R.L. |
|