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 293 matches
CCS Forum Index
Author Message
  Topic: Analog pins
libor

Replies: 8
Views: 16742

PostForum: General CCS C Discussion   Posted: Thu Apr 30, 2009 6:55 am   Subject: Analog pins
What is your application doing with the analog inputs ?
If you can afford measuring their value not too often, you can switch your port configuration to all-analog only just before the ADC process (a ...
  Topic: Using a 18F4550 instead of 18F452
libor

Replies: 3
Views: 4256

PostForum: General CCS C Discussion   Posted: Wed Apr 29, 2009 3:18 am   Subject: Using a 18F4550 instead of 18F452
The pins you mentioned are all used with the software, changing them would be like writing everything new.
not at all ! changing a pin is usually as easy as redefining one-two lines (usually a #def ...
  Topic: Version 4 Comments
libor

Replies: 270
Views: 439573

PostForum: General CCS C Discussion   Posted: Wed Apr 29, 2009 2:12 am   Subject: Version 4 Comments
Almost every project I've worked on with the CCS compiler has had multiple compiler bugs. ...As a comparison...
...as a comparison:
I have been working with CCS for years (writing not too complicate ...
  Topic: Code protection with MPLAB 7.60 and CCS 4.064
libor

Replies: 9
Views: 9800

PostForum: General CCS C Discussion   Posted: Sun Apr 12, 2009 2:47 am   Subject: Code protection with MPLAB 7.60 and CCS 4.064

The reason for not using 8.30 is simply that it's the version we run where I work. Company policy simply, stupid as it may sound.
You are lucky. We here use a russian ENIAC-clone scavanged from a j ...
  Topic: Using chip select line for bidirectional signaling on SPI
libor

Replies: 1
Views: 4076

PostForum: General CCS C Discussion   Posted: Mon Mar 09, 2009 1:28 pm   Subject: Using chip select line for bidirectional signaling on SPI
The scenario:
I have a 18F series PIC (master) some additional SPI devices (RTC, RAM, flash) and an another PIC (slave). Both PICs have hardware SPI, each chip has its own dedicated Chip Select (SPI ...
  Topic: Counting Pulses during sleep mode
libor

Replies: 13
Views: 14481

PostForum: General CCS C Discussion   Posted: Wed Mar 04, 2009 5:20 am   Subject: Counting Pulses during sleep mode
AH-182: 0.1% duty cycle = 50us awake 49950us sleeping (TPeriod 50ms = 50000us is the whole cycle)

AH-183 25% duty cycle = 50us awake 150us sleeping (TPeriod 200us is the whole cy ...
  Topic: Counting Pulses during sleep mode
libor

Replies: 13
Views: 14481

PostForum: General CCS C Discussion   Posted: Wed Mar 04, 2009 1:50 am   Subject: Counting Pulses during sleep mode
can you explain to me the debounching problem that you mentioned in your first reply.Thanks again
Bouncing occurs in swithces with mechanically moving contacts (if you were using a reed switch for ex ...
  Topic: Counting Pulses during sleep mode
libor

Replies: 13
Views: 14481

PostForum: General CCS C Discussion   Posted: Tue Mar 03, 2009 1:07 pm   Subject: Counting Pulses during sleep mode
pulses have high frequency lets say sysyem could have 50 pulses/sec.
Do you have a 1 pulse / ml resolution ? what kind of watermeter has such a flowrate or resolution that you have 50 Hz pulses ...
  Topic: Counting Pulses during sleep mode
libor

Replies: 13
Views: 14481

PostForum: General CCS C Discussion   Posted: Fri Feb 27, 2009 9:21 am   Subject: Counting Pulses during sleep mode
I would rather suggest to use the INT0 (or INT1, INT2) input, you will have more control counting the pulses in software. (you might need some kind of debouncing anyway: like reading the port again 1 ...
  Topic: Making hysteresis to A/D.
libor

Replies: 4
Views: 6125

PostForum: General CCS C Discussion   Posted: Fri Dec 19, 2008 10:28 am   Subject: Making hysteresis to A/D.
I would just insert some 'neutral zones' between the 'steps'.

0-59 valid step 1
60 - 67 neutral zone
68-123 valid step2
124-128 neutral zone
129-191 valid step3
...etc

a reading in any neu ...
  Topic: Latest TCP/IP stack from Microchip
libor

Replies: 15
Views: 24856

PostForum: General CCS C Discussion   Posted: Thu Dec 18, 2008 10:44 am   Subject: Latest TCP/IP stack from Microchip
There are 1382 lines of text added to the 'what's new' .txt file between versions 3.75 and the current 4.55 on the Microchip website.
...about half of the issues are about new features added, and hal ...
  Topic: La Crosse wireless format
libor

Replies: 12
Views: 16143

PostForum: General CCS C Discussion   Posted: Sun Dec 14, 2008 7:10 am   Subject: La Crosse wireless format
Just two additional thoughts to the problem.

1. Don't forget that you can simulate any temperature for the testing if you replace the sensor (depending on operating principle of the sensor) with a ...
  Topic: sending string/characters during zero crossing
libor

Replies: 8
Views: 8453

PostForum: General CCS C Discussion   Posted: Wed Dec 10, 2008 4:00 pm   Subject: sending string/characters during zero crossing
There's an application note on Microchip for X10 powerline communication:
[url=http://ww1.microchip.com/downloads/en/AppNotes/00236a.pdf]AN236
  Topic: power consumption
libor

Replies: 4
Views: 6273

PostForum: General CCS C Discussion   Posted: Sat Nov 01, 2008 5:20 am   Subject: power consumption
The simplest is to connect the LCD power supply to some port on the PIC, the LCD is on when you drive the port high, and off when you drive it low.
If your LCD consumes below 1-2 mA the PIC's port is ...
  Topic: How to disable MAX232 ?
libor

Replies: 4
Views: 7590

PostForum: General CCS C Discussion   Posted: Thu Oct 16, 2008 10:14 am   Subject: How to disable MAX232 ?
You have two options, one requires the redesign of your board: cut off the power supply of the MAX232 when not needed (the easiest would be to supply it from one of the PIC's port directly. It can ha ...
 
Page 1 of 20 Goto page 1, 2, 3 ... 18, 19, 20  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group