Author |
Message |
Topic: ESD protection/problem for our device/PIC |
JPH
Replies: 28
Views: 32849
|
Forum: General CCS C Discussion Posted: Thu Apr 13, 2006 3:49 am Subject: ESD protection/problem for our device/PIC |
Hello
VDR is voltage dependent resistor. Google will help you how use it. Shortly when voltage rises resistor value goes down. Suppressors must placed as close as possible place where electric disa ... |
Topic: Critical timer |
JPH
Replies: 3
Views: 10848
|
Forum: General CCS C Discussion Posted: Fri Mar 10, 2006 5:56 am Subject: Critical timer |
Hello
Now I have a problem with timer1, how can I speed up this timer1 interrupt service routine. This is the only thing that processor do, so there should be plenty of time to execute it. I want t ... |
Topic: Strange problem with printf() |
JPH
Replies: 3
Views: 9274
|
Forum: General CCS C Discussion Posted: Wed Mar 01, 2006 2:02 pm Subject: Strange problem with printf() |
Thanks for the fast reply. I debugged and tested function with different interrupt times and I still didn't get it work without using at least one printf(). How should I fix the problem?
execute ... |
Topic: Strange problem with printf() |
JPH
Replies: 3
Views: 9274
|
Forum: General CCS C Discussion Posted: Tue Feb 28, 2006 2:40 pm Subject: Strange problem with printf() |
Hey
I have PCH 3.242 compiler and [email protected] have strange problem with printf() when I read data from the Sensirion SHT15 sensor. It works's right when I have uncommented one of the printf( ... |
Topic: Converting array to int |
JPH
Replies: 0
Views: 3461
|
Forum: General CCS C Discussion Posted: Thu Jan 19, 2006 7:42 am Subject: Converting array to int |
Hello
Is there simple easy to convert INPUT information to int. I'm trying to read DIP switch information and convert it to 8-bit int. Any suggestions?
int16 READ_DIP(void) ... |
Topic: multi operation button |
JPH
Replies: 3
Views: 4451
|
Forum: General CCS C Discussion Posted: Tue Nov 22, 2005 6:29 am Subject: multi operation button |
thanks for the replies
But can someone give me a sample code, how it should be done?
I looked code library but I didn't find any simple example to manage many operations in single button.
-Juss ... |
Topic: multi operation button |
JPH
Replies: 3
Views: 4451
|
Forum: General CCS C Discussion Posted: Sun Nov 20, 2005 12:09 pm Subject: multi operation button |
Hello
I have connected buttons to RB4:RB5 pins and I like to use RB4 two different operations. Low time<1s reset function and low time>1s sleep prosessor. I use #INT_RB to read buttons and ha ... |
Topic: RS232 -> RS485 Conversion |
JPH
Replies: 7
Views: 9522
|
Forum: General CCS C Discussion Posted: Wed Nov 09, 2005 8:53 am Subject: RS232 -> RS485 Conversion |
Hello
What would be the easiest way to connect RS232 device(PC) to Full Duplex RS485 device(camera). Does easy resistor divider work or do I have use PIC and make the code to handle RS485 Enable pi ... |
Topic: How to use Max6675 with PIC |
JPH
Replies: 15
Views: 42059
|
Forum: General CCS C Discussion Posted: Fri Feb 04, 2005 12:34 pm Subject: How to use Max6675 with PIC |
Hi
First hardware question. Is the thermouple (-) pole in the same ground with MAX6675? Datasheet says they should be.
Second MAX6675.C return data(int 16) and you are storing it to value(BYTE). ... |
Topic: How to use Max6675 with PIC |
JPH
Replies: 15
Views: 42059
|
Forum: General CCS C Discussion Posted: Wed Feb 02, 2005 10:42 am Subject: How to use Max6675 with PIC |
Hello
Here is uncommented source code for reading 16-bit data from MAX6675.
#define MAX_CS PIN_B0
#define MAX_DO PIN_C4
#define MAX_CLK PIN_C3
void init_temp()
{
... |
|