Author |
Message |
Topic: Bus over power supply |
5440
Replies: 10
Views: 13641
|
Forum: General CCS C Discussion Posted: Tue May 17, 2011 6:56 pm Subject: Bus over power supply |
If I recall this is what X10 is based on?
In my line of work they can transmit it over HV transmission lines, miles long at 230kV, using what's called Power Line Carrier (PLC). Although this is now ... |
Topic: time trigger |
5440
Replies: 7
Views: 8604
|
Forum: General CCS C Discussion Posted: Sun May 08, 2011 11:27 am Subject: time trigger |
I recently made a similar system where I used a 1ms interupt, where it just increments a 16 bit counter. I wrote my own ISR to make it tight, took some time but got it done. I had an issue with the fa ... |
Topic: CCS Now supported in MPLAB X |
5440
Replies: 7
Views: 12618
|
Forum: General CCS C Discussion Posted: Sat Apr 30, 2011 11:13 am Subject: CCS Now supported in MPLAB X |
Looks cool, too bad it's not easy to use. |
Topic: timer 2, 4 & 6 issues |
5440
Replies: 5
Views: 8948
|
Forum: General CCS C Discussion Posted: Tue Mar 01, 2011 12:28 pm Subject: timer 2, 4 & 6 issues |
I wrote one for a 1ms TMR INT, but now do my interupt handlers (GLOBAL INTS) manually, using ASM where required.
It was more work and lots of re-reading of the data sheet, but I now have a better ... |
Topic: Error 76 Expect ; ......Warning code has no effect (SOLVED) |
5440
Replies: 4
Views: 12297
|
Forum: General CCS C Discussion Posted: Tue Jan 25, 2011 10:21 pm Subject: Error 76 Expect ; ......Warning code has no effect (SOLVED) |
Normally, if the #use delay definition is wrong. 'delay', will give an 'undefined identifier' error.
The fact that moving the statement, doesn't change things, suggests the fault is not an earlier sy ... |
Topic: Error 76 Expect ; ......Warning code has no effect (SOLVED) |
5440
Replies: 4
Views: 12297
|
Forum: General CCS C Discussion Posted: Mon Jan 24, 2011 11:47 pm Subject: Error 76 Expect ; ......Warning code has no effect (SOLVED) |
Still get the error if I move the delay around in main.
Remove it and all is good. I started removing functions and no change, I will start trimming the code to bare bones until I solve it. |
Topic: Error 76 Expect ; ......Warning code has no effect (SOLVED) |
5440
Replies: 4
Views: 12297
|
Forum: General CCS C Discussion Posted: Mon Jan 24, 2011 10:45 pm Subject: Error 76 Expect ; ......Warning code has no effect (SOLVED) |
I'm using ver 4.106 on a PIC18F2585
The code compiles and runs fine, but when I add a CCS delay
delay_ms(500);
I get the error 76...Expect; along with warning 207 "code has no effect&quo ... |
Topic: Issue with <= statement |
5440
Replies: 4
Views: 5612
|
Forum: General CCS C Discussion Posted: Sun Dec 26, 2010 8:03 pm Subject: Issue with <= statement |
I think more importantly you should only be reading the timer value once, and work from the stored value in your timer test routine.
The way I am reading the code in the source as published is you ... |
Topic: Issue with <= statement |
5440
Replies: 4
Views: 5612
|
Forum: General CCS C Discussion Posted: Wed Dec 22, 2010 11:59 pm Subject: Issue with <= statement |
Well I am trying to create a general timer array using TMR1 with a PIC18F2585. I config'd TMR1 with a 1ms interrupt and inc's a counter. So far so good as I scoped the TMR1 int at 1ms.
I toggled a ... |
Topic: >= and others |
5440
Replies: 14
Views: 13673
|
Forum: General CCS C Discussion Posted: Wed Dec 22, 2010 3:02 pm Subject: >= and others |
So is this <= or >= statements a known bug?
I don't use any CCS functions as I like to roll my own.
I'm using 4.106 on a PIC18F2585 and finally found a "random" issue with my cod ... |
Topic: INT_GLOBAL vs INT_FAST vs INT_HIGH on 18F parts |
5440
Replies: 10
Views: 25925
|
Forum: General CCS C Discussion Posted: Sat Nov 13, 2010 6:35 pm Subject: INT_GLOBAL vs INT_FAST vs INT_HIGH on 18F parts |
I did some reading but have a couple of Q's regarding priority ints on 18F devices.
I am playing with a 18F2585 on CCS 4.106
I think I understand the following:
1) Using INT FAST will allow a ... |
|