Author |
Message |
Topic: CCS C and ASM |
Guard
Replies: 2
Views: 6780
|
Forum: General CCS C Discussion Posted: Fri Mar 18, 2005 9:23 am Subject: CCS C and ASM |
HI,
Why CCS doesn't recognized "db" asm opcode?
Thank |
Topic: 18F442 and LCD.C not works |
Guard
Replies: 1
Views: 4597
|
Forum: General CCS C Discussion Posted: Fri Mar 18, 2005 8:38 am Subject: 18F442 and LCD.C not works |
PCWH 3.221
My lcd don't work !,
The hardware is ok, I tested it by asm routine
Where is the error in my code?
Thanks!
struct lcd_map { // This structure is overlaye ... |
Topic: LCD character pattern |
Guard
Replies: 7
Views: 10236
|
Forum: General CCS C Discussion Posted: Thu Mar 17, 2005 8:07 am Subject: LCD character pattern |
Hi,
Do you know code for write character pattern on lcd?
Thanks |
Topic: 3.219 doesn't recognize INT_COMP2 |
Guard
Replies: 5
Views: 8157
|
Forum: General CCS C Discussion Posted: Thu Feb 24, 2005 2:23 pm Subject: 3.219 doesn't recognize INT_COMP2 |
This is my code for #int default
The PC jump always to interrupt vector !
C2IF is cleared.
I configured all registers for the PSMC , and it works .
C2 and C1 are input for PSMC
#include & ... |
Topic: 3.219 doesn't recognize INT_COMP2 |
Guard
Replies: 5
Views: 8157
|
Forum: General CCS C Discussion Posted: Thu Feb 24, 2005 1:43 pm Subject: 3.219 doesn't recognize INT_COMP2 |
Can I use COMP2_isr() and C2IE bit ?? |
Topic: 3.219 doesn't recognize INT_COMP2 |
Guard
Replies: 5
Views: 8157
|
Forum: General CCS C Discussion Posted: Thu Feb 24, 2005 1:24 pm Subject: 3.219 doesn't recognize INT_COMP2 |
Hi,
V 3.219 doesn't recognize enable_interrupts(INT_COMP2).
I try C2IE bit |
Topic: Help BUG in #INT_DEFAULT |
Guard
Replies: 5
Views: 8395
|
Forum: General CCS C Discussion Posted: Thu Feb 24, 2005 10:26 am Subject: Help BUG in #INT_DEFAULT |
HI,
I tested newly my code , but it doesn't work
I am using PSMC ( C2 and C1 input to PSMC ) and comparator 2 interrupt
#include <16C781.h>
#use delay(clock=10000000)
#fuses ... |
Topic: Delay bug |
Guard
Replies: 1
Views: 5155
|
Forum: General CCS C Discussion Posted: Mon Feb 21, 2005 11:26 am Subject: Delay bug |
PCWH 2.218
Hi,
on pin C4 I read 47KHz signal!
The steps are about 128x2uS (Toff) and 128x2uS (ton)!
#include <16f676.h>
#device adc=8
#use delay(clock=4000000)
#fuses NOWDT,INTRC, ... |
Topic: Help BUG in #INT_DEFAULT |
Guard
Replies: 5
Views: 8395
|
Forum: General CCS C Discussion Posted: Mon Feb 21, 2005 4:11 am Subject: Help BUG in #INT_DEFAULT |
My is an annual update. I am not secure for 3.219
I am using #INT_global only for comparator interrupt (C2).
The other interrupts are disabled, but the program counter jump always to location 0004 ... |
Topic: Help BUG in #INT_DEFAULT |
Guard
Replies: 5
Views: 8395
|
Forum: General CCS C Discussion Posted: Sun Feb 20, 2005 7:45 am Subject: Help BUG in #INT_DEFAULT |
PCWH 3.218
I am using interrupt comparator by #INT_DEFAULT
( The wizard doesn't function and Device Edit wrong memory location!)
I know the #Int_default has a bug!!( My application does't func ... |
Topic: Fat16 write function for compact flash card |
Guard
Replies: 13
Views: 19752
|
Forum: General CCS C Discussion Posted: Fri Feb 18, 2005 11:18 am Subject: Fat16 write function for compact flash card |
ok Thanks! |
Topic: Fat16 write function for compact flash card |
Guard
Replies: 13
Views: 19752
|
Forum: General CCS C Discussion Posted: Fri Feb 18, 2005 11:05 am Subject: Fat16 write function for compact flash card |
.... I read Faq..!
Yes , Flash file write memory stick.
Memory stick is an USB device , compacf flash uses SPI and parallel bus
I am a little confuse ( i don't konw usb protocol ), How can write us ... |
Topic: Fat16 write function for compact flash card |
Guard
Replies: 13
Views: 19752
|
Forum: General CCS C Discussion Posted: Fri Feb 18, 2005 10:56 am Subject: Fat16 write function for compact flash card |
Hi,
from http://www.prllc.com/FlashFile-PIC-FAQ.pdf
Flashfile works with CompactFlash and Smartmedia Card (FAT12 and
FAT16) ,
---->Can I use Flashfile for USB stick?
Other:
By defaul ... |
Topic: COMPARATOR INTERRUPT!!!!! |
Guard
Replies: 6
Views: 10372
|
Forum: General CCS C Discussion Posted: Wed Feb 09, 2005 2:29 am Subject: COMPARATOR INTERRUPT!!!!! |
HI
To fix the problem I used MC2OUT |
Topic: COMPARATOR INTERRUPT!!!!! |
Guard
Replies: 6
Views: 10372
|
Forum: General CCS C Discussion Posted: Tue Feb 08, 2005 12:25 pm Subject: COMPARATOR INTERRUPT!!!!! |
#include "C:\TEST\PSMC.h"
static short int Camp;
static int Answer;
////////////////////////////////////////// Ports
#byte Port_b = 0x06
#byte TRISB = ... |
|