Author |
Message |
Topic: Distributing protected code 12f683 |
pdl
Replies: 5
Views: 7518
|
Forum: General CCS C Discussion Posted: Tue Dec 07, 2010 7:55 pm Subject: Distributing protected code 12f683 |
Hi, take a look at the this item: TEAclipper by flexipanel.com
Does what you want.
Pete |
Topic: help please to write code |
pdl
Replies: 12
Views: 10309
|
Forum: General CCS C Discussion Posted: Sun Jun 13, 2010 9:22 am Subject: help please to write code |
Ok you need to look at the if statement and else if statement.
if the ad is greater then the value you set do printf
else if the input is high then printf
go do it all again
If you convert ... |
Topic: help please to write code |
pdl
Replies: 12
Views: 10309
|
Forum: General CCS C Discussion Posted: Sun Jun 13, 2010 3:35 am Subject: help please to write code |
First of all thats not what you ask for.
Take a look at the " if " statment
Its 2 more lines of code to get it to work.
Also the LM35 does not detect smoke only Heat.
thanks
P ... |
Topic: help please to write code |
pdl
Replies: 12
Views: 10309
|
Forum: General CCS C Discussion Posted: Sat Jun 12, 2010 11:29 am Subject: help please to write code |
I think you could do it like this
#include <12C508A.h>
#FUSES NOWDT, INTRC, NOPROTECT, NOMCLR
#use delay(clock=4000000)
#use rs232(baud=9600,parity=N,xmit=PIN_B0,rcv=PIN_B1,bi ... |
Topic: help please to write code |
pdl
Replies: 12
Views: 10309
|
Forum: General CCS C Discussion Posted: Sat Jun 12, 2010 9:03 am Subject: help please to write code |
What hex code do you want to send.
Pete |
Topic: Re: getting time from ds1307. |
pdl
Replies: 6
Views: 10395
|
Forum: General CCS C Discussion Posted: Mon Feb 08, 2010 4:32 am Subject: Drive |
Hi evaradharaj
Could you point me to the link for the driver that you used. I have used one driver but when I put the code into a pic I get something like 45:48 come up and not the time. Any help w ... |
Topic: How do I Log the lowest adc value and display it |
pdl
Replies: 2
Views: 5478
|
Forum: General CCS C Discussion Posted: Mon Jan 11, 2010 7:33 pm Subject: How do I Log the lowest adc value and display it |
Hi PCM programmer
Thanks for the help. I now have some idea of how to do it. I just could not get my head around it.
I am slowly get the hang of C. Every program I try to write I learn something ... |
Topic: How do I Log the lowest adc value and display it |
pdl
Replies: 2
Views: 5478
|
Forum: General CCS C Discussion Posted: Mon Jan 11, 2010 12:46 pm Subject: How do I Log the lowest adc value and display it |
Hi guys
I would like to log the lowest adc value and display on a set of leds.
I have coded what looks like an led bar the circuit and the code that I have done takes a voltage into the adc and ... |
Topic: help for project & Proteus. |
pdl
Replies: 2
Views: 4082
|
Forum: General CCS C Discussion Posted: Mon Nov 30, 2009 6:06 am Subject: help for project & Proteus. |
Try it in the real world, Make the circuit.
I used Proteus on some code and found that it would hang so i made the circuit and programmed a Pic.
thanks
Pete |
Topic: adc on 10f222 |
pdl
Replies: 18
Views: 16824
|
Forum: General CCS C Discussion Posted: Fri Aug 07, 2009 5:49 pm Subject: adc on 10f222 |
not a thing
Pete |
Topic: adc on 10f222 |
pdl
Replies: 18
Views: 16824
|
Forum: General CCS C Discussion Posted: Fri Aug 07, 2009 3:44 pm Subject: adc on 10f222 |
Hi PCM programmer it the code snip that you posted
If I could get this working I could do the rest.
Thanks
Pete
#include <10f222.h>
#device adc=8
#FUSES NOWDT, NOMCLR, NOPROTECT, ... |
Topic: adc on 10f222 |
pdl
Replies: 18
Views: 16824
|
Forum: General CCS C Discussion Posted: Fri Aug 07, 2009 1:56 pm Subject: adc on 10f222 |
Hi Guys
I did do some code in 12f683 chip and the adc worked but I then got the 10f222 digital side working with help from PCM programmer.
But the ADC side I still can not get to working.
I t ... |
Topic: adc on 10f222 |
pdl
Replies: 18
Views: 16824
|
Forum: General CCS C Discussion Posted: Fri Aug 07, 2009 10:52 am Subject: adc on 10f222 |
Hi guys
i am still having problems getting the a2d working i was trying to use the code that PCM programmer provided as a start.
i am trying to look at the voltage on a battery which then makes ... |
Topic: adc on 10f222 |
pdl
Replies: 18
Views: 16824
|
Forum: General CCS C Discussion Posted: Wed Aug 05, 2009 12:20 pm Subject: adc on 10f222 |
I have tried to get one of these chips working with my project but can not get it to work.
Even with the old test program flash an led every 500Ms.
The code gets program into the chip but it is ... |
Topic: adc on 10f222 |
pdl
Replies: 18
Views: 16824
|
Forum: General CCS C Discussion Posted: Sat Aug 01, 2009 3:09 pm Subject: adc on 10f222 |
Hi guys
Could some one show me the right syntax to get the ADC working on the 10f222.
Many thanks
Pete |
|