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 29 matches
CCS Forum Index
Author Message
  Topic: Velocity problem
bsturm

Replies: 7
Views: 8995

PostForum: General CCS C Discussion   Posted: Thu Jun 18, 2009 11:43 am   Subject: Velocity problem
You are wise to dedicate a PIC to this function. Have you tried a busy loop instead of an interrupt. A tight loop that tests the status of an input might be faster and simpler than an interrupt driv ...
  Topic: [OT] PC programming language survey
bsturm

Replies: 14
Views: 15241

PostForum: General CCS C Discussion   Posted: Tue Jun 09, 2009 7:41 pm   Subject: [OT] PC programming language survey
I prefer C# to VB because of the C like syntax. If you are putting semicolons on the end of lines in your PIC programs, you may as well do the same in your PC program.Laughing That and numerous other s ...
  Topic: #MODULE not working?
bsturm

Replies: 4
Views: 4263

PostForum: General CCS C Discussion   Posted: Tue Apr 14, 2009 12:10 pm   Subject: #MODULE not working?
Have you programmed a PIC before? They don't have much in the way of stack or ram, therefore it is common to have more global vars than a larger chip or a PC would. You cannot fit too many pages of ...
  Topic: Looking for impartial comparisons
bsturm

Replies: 10
Views: 7303

PostForum: General CCS C Discussion   Posted: Tue Apr 14, 2009 6:46 am   Subject: Looking for impartial comparisons
I agree about the CCS IDE, who needs it? MPLAB works well and it is free, how can you compete with that? I also agree that the CCS has very nice libraries and example code that save a lot of time. ...
  Topic: 16F882
bsturm

Replies: 2
Views: 4689

PostForum: General CCS C Discussion   Posted: Sat Apr 11, 2009 10:08 am   Subject: 16F882
Do you have the header file for a 16F883 or 16F886? I believe those are the same chip, just with more memory. Check the data sheet.
  Topic: 3.3 v logic or 5 v logic
bsturm

Replies: 11
Views: 10075

PostForum: General CCS C Discussion   Posted: Fri Apr 10, 2009 9:26 am   Subject: 3.3 v logic or 5 v logic
Thanks for the suggestions. For now, I have moved on to other issues, and I am not actively working it. Serial communication was just a convenience item, not necessary at this time. I was just cur ...
  Topic: 3.3 v logic or 5 v logic
bsturm

Replies: 11
Views: 10075

PostForum: General CCS C Discussion   Posted: Wed Apr 08, 2009 9:23 pm   Subject: 3.3 v logic or 5 v logic
I was getting garbage characters on Hyperterminal, smiley faces and what not. Sometimes it would work properly for a short time. I did have it set to 9600-8-N-1. I also tried 2400, 1200,300 and eve ...
  Topic: 3.3 v logic or 5 v logic
bsturm

Replies: 11
Views: 10075

PostForum: General CCS C Discussion   Posted: Tue Apr 07, 2009 8:31 pm   Subject: 3.3 v logic or 5 v logic
I suspected that is what you had to do. I have had the same problem and I haven't fixed it yet. The internal oscillator seems to hold time very well, well within 1% when I measured it. But I still ...
  Topic: [OT] My latest I2C bus – it’s time to brag
bsturm

Replies: 5
Views: 6087

PostForum: General CCS C Discussion   Posted: Tue Apr 07, 2009 8:20 pm   Subject: [OT] My latest I2C bus – it’s time to brag
I haven't had a problem with the bus getting stuck recently, but I do have the WDT enabled just in case. It is not the nicest way of getting unstuck, but it is better than nothing.

I may end up ...
  Topic: Code protection with MPLAB 7.60 and CCS 4.064
bsturm

Replies: 9
Views: 8616

PostForum: General CCS C Discussion   Posted: Tue Apr 07, 2009 8:04 pm   Subject: Code protection with MPLAB 7.60 and CCS 4.064
I just learned something about the #device ICD=TRUE statement. I did not include it and the compiler mapped one of my variables into a reserved area of memory for the debugger. My program was behavi ...
  Topic: [OT] My latest I2C bus – it’s time to brag
bsturm

Replies: 5
Views: 6087

PostForum: General CCS C Discussion   Posted: Tue Apr 07, 2009 7:55 pm   Subject: [OT] My latest I2C bus – it’s time to brag
I am using the hardware I2C...
  Topic: Can't seem to make I2C Master - Slave work
bsturm

Replies: 9
Views: 8303

PostForum: General CCS C Discussion   Posted: Tue Apr 07, 2009 4:58 pm   Subject: Can't seem to make I2C Master - Slave work
Does any info from this thread help? http://www.ccsinfo.com/forum/viewtopic.php?t=38091&highlight=i2c+16f886

I had to add some short delays in strategic places. I also started with Ex_Slave.c ...
  Topic: 3.3 v logic or 5 v logic
bsturm

Replies: 11
Views: 10075

PostForum: General CCS C Discussion   Posted: Tue Apr 07, 2009 4:47 pm   Subject: 3.3 v logic or 5 v logic
What did you change? Did you have to add an oscillator?
  Topic: ps/2 keyboard emulator
bsturm

Replies: 2
Views: 6223

PostForum: General CCS C Discussion   Posted: Mon Apr 06, 2009 10:30 pm   Subject: ps/2 keyboard emulator
Like this?

http://www.ccsinfo.com/forum/viewtopic.php?t=27544
  Topic: [OT] My latest I2C bus – it’s time to brag
bsturm

Replies: 5
Views: 6087

PostForum: General CCS C Discussion   Posted: Mon Apr 06, 2009 9:44 pm   Subject: [OT] My latest I2C bus – it’s time to brag
Congrats, it is a lot of work to get all that working reliably isn't it. I spent a solid week on my design with a master/slave board system. At first, it was not hot pluggable. By the end, it recov ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group