Author |
Message |
Topic: dmx.c file |
mewanchyna
Replies: 5
Views: 15645
|
Forum: General CCS C Discussion Posted: Sat Oct 15, 2016 10:42 pm Subject: dmx.c file |
Thanks for the responses. As it turns out it seems that version 5.011 doesn't have this example file in it's library. As Jay mentioned, I have already looked at so many versions of doing this that my ... |
Topic: dmx.c file |
mewanchyna
Replies: 5
Views: 15645
|
Forum: General CCS C Discussion Posted: Sat Oct 15, 2016 9:56 am Subject: dmx.c file |
I know we have covered this topic. There has been a lot of discussion on this and unfortunately, there is no correct answer. I have tried the file that is supplied in the "drivers" folder, d ... |
Topic: additional I2C stream with PICC 4.030 |
mewanchyna
Replies: 1
Views: 3960
|
Forum: General CCS C Discussion Posted: Wed Apr 03, 2013 12:48 am Subject: additional I2C stream with PICC 4.030 |
Although I know the new compiler supports two (or more) I2C communication streams, is there any way to do this in the 4.030 version of the compiler? I'm using a 16F877A microcontroller. Thanks. |
Topic: I2C, FORCE_HW, slow, fast trivia - trying to sort out things |
mewanchyna
Replies: 5
Views: 8905
|
Forum: General CCS C Discussion Posted: Sat Feb 27, 2010 11:15 am Subject: 16f690 force_hw CCS ver. 4.030 |
For the record, I have similar issues with the the software and hardware I2C. Code works in software but not when I "force_hw". I'm using CCS 4.030. I will post any results that I find. |
Topic: Interrupt problems with PIC 16F690 |
mewanchyna
Replies: 5
Views: 8372
|
Forum: General CCS C Discussion Posted: Mon Nov 30, 2009 4:29 pm Subject: Interrupt problems with PIC 16F690 |
I tried out the sample code and it worked fine. I found out that if we "enable_interrupts(INT_RB);", I was unable to invoke the ISR with any stimulus, ie firing B4, B5, B6, or B7. When I use ... |
Topic: Interrupt problems with PIC 16F690 |
mewanchyna
Replies: 5
Views: 8372
|
Forum: General CCS C Discussion Posted: Sun Nov 29, 2009 11:25 pm Subject: Interrupt problems with PIC 16F690 |
I'm tryng to get a simple "PORT B change" interrupt working on a pic16F690 using the Pickit2 demo board. Since I had no luck with my original code, I used the simulator and stimulus availabl ... |
Topic: byte or int (int 8)?? |
mewanchyna
Replies: 5
Views: 9340
|
Forum: General CCS C Discussion Posted: Mon Apr 24, 2006 9:23 am Subject: byte or int (int 8)?? |
Thanks for the replies in record time!. To clarify, I'm not talking about the "#byte". As mentioned, it's when a data type is specified (see sample code). Is "byte" leftover from another compiler? If ... |
Topic: byte or int (int 8)?? |
mewanchyna
Replies: 5
Views: 9340
|
Forum: General CCS C Discussion Posted: Mon Apr 24, 2006 6:27 am Subject: byte or int (int 8)?? |
When it comes to data types, I've noticed that in some examples,the word "byte" is used as a data type specifier. I was unable to find the usage or definition of this data type in the manual or help f ... |
Topic: I2C not working on 16F690 |
mewanchyna
Replies: 5
Views: 10061
|
Forum: General CCS C Discussion Posted: Wed Apr 19, 2006 6:33 pm Subject: I2C not working on 16F690 |
Sometimes the obvious is not so obvious! Although the I2C lines had pullups on them, after all, the LEDs attached to the I2C outputs were on when the pullups were added, the output pins must be logic ... |
Topic: I2C not working on 16F690 |
mewanchyna
Replies: 5
Views: 10061
|
Forum: General CCS C Discussion Posted: Wed Apr 19, 2006 4:18 pm Subject: I2C not working on 16F690 |
Thanks for the checklist. This is a really strange problem. I have 17 students who also have the same problem. Some of these may be programming errors but all 17? Nevertheless, going through your list ... |
Topic: I2C not working on 16F690 |
mewanchyna
Replies: 5
Views: 10061
|
Forum: General CCS C Discussion Posted: Mon Apr 17, 2006 8:11 pm Subject: I2C not working on 16F690 |
Hi, I tried the code as shown. as expected, C0 flashed on then off and that's it. I orginally ported the whole routine from my working 16F877A pic routine. I didn't expect the results that I've had so ... |
Topic: I2C not working on 16F690 |
mewanchyna
Replies: 5
Views: 10061
|
Forum: General CCS C Discussion Posted: Mon Apr 17, 2006 12:03 am Subject: I2C not working on 16F690 |
After trying many experiments, I can't get the software I2C interface to work on the 16F690. I'm using ver. 3.249 of the compiler. I've looked at the dissasembly listing and the program seems to get s ... |
Topic: RS232 problems using software UART |
mewanchyna
Replies: 3
Views: 6465
|
Forum: General CCS C Discussion Posted: Mon Nov 21, 2005 11:45 am Subject: RS232 problems using software UART |
My external oscillator test will verify the clock error. I'm surprised that after trying several devices that are supposed to have an internal clock accuracy of 1% has such poor timing. Also note that ... |
Topic: RS232 problems using software UART |
mewanchyna
Replies: 3
Views: 6465
|
Forum: General CCS C Discussion Posted: Mon Nov 21, 2005 10:58 am Subject: RS232 problems using software UART |
I'm trying to establish a serial tranmission using a PIC 16F676 which has no hardware UART. I'm using the internal oscillator at 4MHz. Of course I also am using a Max232 IC as the interface between th ... |
|