Author |
Message |
Topic: PIC USB to PC comms |
Liam_85
Replies: 3
Views: 9165
|
Forum: General CCS C Discussion Posted: Mon Feb 13, 2017 2:48 pm Subject: PIC USB to PC comms |
Thank you very much Ttelmah, worked straight away!
The other issue I had which was resolved thanks to a comment you posted in another topic about using the internal RC oscillator instead of the exte ... |
Topic: PIC USB to PC comms |
Liam_85
Replies: 3
Views: 9165
|
Forum: General CCS C Discussion Posted: Mon Feb 13, 2017 3:55 am Subject: PIC USB to PC comms |
Hello everyone,
Does anybody have any insight into talking to a PIC from the PC via USB. I have a USB PIC - PIC18F45K50 with an on-board USB peripheral. I currently have the USB example ex_usb_serial ... |
Topic: IR Receiver for NEC protocol |
Liam_85
Replies: 3
Views: 10189
|
Forum: General CCS C Discussion Posted: Sat Feb 28, 2015 10:39 am Subject: IR Receiver for NEC protocol |
http://www.ccsinfo.com/forum/viewtopic.php?t=53596&highlight=nec |
Topic: NEC decoding, weird UART problem |
Liam_85
Replies: 7
Views: 15695
|
Forum: General CCS C Discussion Posted: Sat Feb 28, 2015 10:37 am Subject: NEC decoding, weird UART problem |
Thanks Thelmah, NOWDT would normally be the first fuse I declare but somehow I just missed it. Thanks also to PCM programmer and Temtronic, all of your (and others) comments on this forum have helped ... |
Topic: NEC decoding, weird UART problem |
Liam_85
Replies: 7
Views: 15695
|
Forum: General CCS C Discussion Posted: Sat Feb 28, 2015 10:12 am Subject: NEC decoding, weird UART problem |
Thanks Temtronic and Ttelmah for your replies. Temtronic I actually forgot to put in that fuse but I checked the assembly file and NOWDT was in the fuses at the end. Also I am not using any external ... |
Topic: NEC decoding, weird UART problem |
Liam_85
Replies: 7
Views: 15695
|
Forum: General CCS C Discussion Posted: Fri Feb 27, 2015 10:50 pm Subject: NEC decoding, weird UART problem |
Sorry PCM programmer i must of deleted your post by accident, I really should go to sleep!!! Anyways I used
for (i=16; i<=23; i++) {
printf("%Lu ", irframes ... |
Topic: NEC decoding, weird UART problem |
Liam_85
Replies: 7
Views: 15695
|
Forum: General CCS C Discussion Posted: Fri Feb 27, 2015 10:27 pm Subject: NEC decoding, weird UART problem |
Thank you PCM programmer for your reply. The capital letters just happened to be the way i wrote it. I have tried lower case, capitalized numbers all sorts and its always them two that causes the prob ... |
Topic: NEC decoding, weird UART problem |
Liam_85
Replies: 7
Views: 15695
|
Forum: General CCS C Discussion Posted: Fri Feb 27, 2015 9:29 pm Subject: NEC decoding, weird UART problem |
Hi everybody. I have a weird problem with a UART that is baffling me. I am using a PIC12F1840 to decode NEC IR and send the decoded info to a PIC24HJ128GP502. There is seven buttons on the IR remote a ... |
Topic: Sleep mode, RTC & decreased oscillator speed [SOLVED] |
Liam_85
Replies: 5
Views: 11715
|
Forum: General CCS C Discussion Posted: Sat Feb 07, 2015 3:03 pm Subject: Sleep mode, RTC & decreased oscillator speed [SOLVED] |
Thank you very much Ttelmah, that was a very quick and easy fix. I thought that bit was to do with running the uC core using the secondary oscillator. Instead it just enabled it for me.
I simply chan ... |
Topic: Sleep mode, RTC & decreased oscillator speed [SOLVED] |
Liam_85
Replies: 5
Views: 11715
|
Forum: General CCS C Discussion Posted: Sat Feb 07, 2015 7:25 am Subject: Sleep mode, RTC & decreased oscillator speed [SOLVED] |
It's a PIC24HJ128GP502 Ttelmah. I understand the core is turned off during sleep but an external 32.768kHz crystal still runs timer 1 during that time and when it rolls over it wakes the uC. I'm sorry ... |
Topic: Sleep mode, RTC & decreased oscillator speed [SOLVED] |
Liam_85
Replies: 5
Views: 11715
|
Forum: General CCS C Discussion Posted: Fri Feb 06, 2015 5:35 pm Subject: Sleep mode, RTC & decreased oscillator speed [SOLVED] |
Hi everybody, hope somebody can help with a few problems I am having.
So basically what I am trying to do:
I am running a PIC24HJ at 80MHz with an external crystal at the start of the program. I did ... |
Topic: Apple TV IR remote decoding |
Liam_85
Replies: 8
Views: 14788
|
Forum: General CCS C Discussion Posted: Sat Jan 10, 2015 9:33 am Subject: Apple TV IR remote decoding |
Thanks temtronic, I will give it a go and if I resolve it I will post it on CCS C for others. I can't understand why there is loads of CCS C code regarding RC5 and SIRC IR encoding and decoding but n ... |
Topic: Apple TV IR remote decoding |
Liam_85
Replies: 8
Views: 14788
|
Forum: General CCS C Discussion Posted: Sat Jan 10, 2015 8:38 am Subject: Apple TV IR remote decoding |
The remote is definitely 38kHz. I searched only for the specs of the remote and according to a number of sources including ladyada this particular remote uses the NEC protocol at 38kHz. I have a TSOP1 ... |
Topic: Apple TV IR remote decoding |
Liam_85
Replies: 8
Views: 14788
|
Forum: General CCS C Discussion Posted: Fri Jan 09, 2015 3:15 pm Subject: Apple TV IR remote decoding |
Hello everyone, I hope somebody can help me out. I am trying to decode an Apple TV remote using the 38kHz NEC protocol. I have a flow chart that I was trying to work through with no success. If anybod ... |
Topic: Oscillator timings |
Liam_85
Replies: 3
Views: 7543
|
Forum: General CCS C Discussion Posted: Wed Dec 03, 2014 10:44 am Subject: Oscillator timings |
Thanks Ttelmah, I was going on the advice of my lecturer with that method of delay. I think maybe i misinterpreted the meaning of MIPS. I assumed 1MIPS was a million instructions per second like outpu ... |
|