CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 14 matches
CCS Forum Index
Author Message
  Topic: Sorted: DAC not working on PIC16F753
duncangray

Replies: 6
Views: 15309

PostForum: General CCS C Discussion   Posted: Fri Nov 04, 2016 10:23 am   Subject: Sorted: DAC not working on PIC16F753
Thanks Jay (it's getting dark again - time to start work) and big thanks too to Ttelmah.

I had tried left justified without knowing what I was doing but I grasped the logic of your code/comments an ...
  Topic: Sorted: DAC not working on PIC16F753
duncangray

Replies: 6
Views: 15309

PostForum: General CCS C Discussion   Posted: Fri Nov 04, 2016 6:51 am   Subject: Sorted: DAC not working on PIC16F753
Jay,

Thanks for the rapid response - you're an early bird - responding before 7am!

Your points in the wrong order...

5) A0 toggles so it's not bust - it's also one of the programming pins.
3 ...
  Topic: Sorted: DAC not working on PIC16F753
duncangray

Replies: 6
Views: 15309

PostForum: General CCS C Discussion   Posted: Fri Nov 04, 2016 5:13 am   Subject: Sorted: DAC not working on PIC16F753
Good morning CCS Forum,
Yet again I am trying something new and failing. Please can someone steer me in the right direction.

I want to make an approximation of a sine wave generator using a PIC DA ...
  Topic: Strange #int_ext behaviour
duncangray

Replies: 5
Views: 14184

PostForum: General CCS C Discussion   Posted: Sun Aug 21, 2016 1:16 pm   Subject: Strange #int_ext behaviour
Ttelmah,

Thank you very much for your help. I believe my disable interrupts & enable interrupts habit goes back to my Z80 assembler days. Point taken but it took some finding in the "Embed ...
  Topic: Strange #int_ext behaviour
duncangray

Replies: 5
Views: 14184

PostForum: General CCS C Discussion   Posted: Fri Aug 19, 2016 4:54 pm   Subject: Strange #int_ext behaviour
Jay,

Compiler is 5.062. I realised almost as soon as I had posted that I had omitted that info.

Thanks for your comments. 1 & 2 were both new to me. I was aware that printf took loads of tim ...
  Topic: Strange #int_ext behaviour
duncangray

Replies: 5
Views: 14184

PostForum: General CCS C Discussion   Posted: Fri Aug 19, 2016 3:24 pm   Subject: Strange #int_ext behaviour
Good evening CCS forum.

I seem to write CCS code in small bursts every 6 months and, every time I do I end up using features I had never used before - and sometimes I get caught out!

The followi ...
  Topic: SOLVED: Using the 16F767 internal 8MHz oscillator
duncangray

Replies: 7
Views: 25469

PostForum: General CCS C Discussion   Posted: Thu May 19, 2016 10:34 am   Subject: SOLVED: Using the 16F767 internal 8MHz oscillator
Thank you both Ttelmah and Jay for some good advice - and CCS support too.

My simple code now works in standalone mode without having to go through the debug stage. CCS hinted at a hardware/MCLR pr ...
  Topic: SOLVED: Using the 16F767 internal 8MHz oscillator
duncangray

Replies: 7
Views: 25469

PostForum: General CCS C Discussion   Posted: Wed May 18, 2016 5:55 pm   Subject: SOLVED: Using the 16F767 internal 8MHz oscillator
Thanks Jay. I also found a list of fuses by device in the compiler under "View/Config Bits". To date I have used a small subset and, by good luck, they have worked. Running on the internal o ...
  Topic: SOLVED: Using the 16F767 internal 8MHz oscillator
duncangray

Replies: 7
Views: 25469

PostForum: General CCS C Discussion   Posted: Wed May 18, 2016 5:28 pm   Subject: SOLVED: Using the 16F767 internal 8MHz oscillator
Thanks PCM programmer. That code has moved the game forward.

I have looked for further info on the many fuses and, apart from the 16F767 header file I cannot find anything in the CCS manual, CCS He ...
  Topic: SOLVED: Using the 16F767 internal 8MHz oscillator
duncangray

Replies: 7
Views: 25469

PostForum: General CCS C Discussion   Posted: Wed May 18, 2016 3:36 pm   Subject: SOLVED: Using the 16F767 internal 8MHz oscillator
Dear Forum contributors,

I have been programming PICs using the CCS compiler for several years and have occasionally tried to use a PIC's internal oscillator - and always failed, trawled the exampl ...
  Topic: [Solved]Serial Interrupt isn't working
duncangray

Replies: 2
Views: 4701

PostForum: General CCS C Discussion   Posted: Thu Sep 05, 2013 4:10 pm   Subject: [Solved]Serial Interrupt isn't working
Thanks PCM programmer. You are quite correct.

I was having problems with the polled version on C6, C7 as well but that must be hardware.

Thanks again for your rapid help.


Duncan
  Topic: [Solved]Serial Interrupt isn't working
duncangray

Replies: 2
Views: 4701

PostForum: General CCS C Discussion   Posted: Thu Sep 05, 2013 3:42 pm   Subject: [Solved]Serial Interrupt isn't working
I must be doing something very stupid as I can echo characters using a polled routine (tx & rx using realterm)

#include "18f87k22.h"
#fuses HSH ,PLLEN, NOWDT, NOPROTECT // , NOLVP ...
  Topic: Spurious Characters using RS232 with PLL
duncangray

Replies: 3
Views: 7250

PostForum: General CCS C Discussion   Posted: Sat May 25, 2013 3:02 pm   Subject: Spurious Characters using RS232 with PLL
Ttelmah.

Thank you for the rapid and knowledgeable response and, as a result I have looked at the Errata in the hope that I could swap to the K90. Unfortunately it has the same problem but both ar ...
  Topic: Spurious Characters using RS232 with PLL
duncangray

Replies: 3
Views: 7250

PostForum: General CCS C Discussion   Posted: Sat May 25, 2013 1:28 pm   Subject: Spurious Characters using RS232 with PLL
My first posting - hope it makes sense.

I have an 18F87K22 running minimal code to try to sort out system clock problems by viewing J0 and J1 (which are toggled using timer_0 and timer_1 ISRs) usin ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group