Author |
Message |
Topic: i2c and 16f819 help |
peterzatko
Replies: 1
Views: 4771
|
Forum: General CCS C Discussion Posted: Mon Jul 28, 2014 9:40 am Subject: i2c and 16f819 help |
I need help with communication Pic 16f819 and rfid - sl030
Here is link for rfid SL030
http://www.sos.sk/a_info/resource/c/Stronglink/SL030.pdf
I don't see clock on scl and data on sda with s ... |
Topic: ADC pic 12f683 |
peterzatko
Replies: 2
Views: 4391
|
Forum: General CCS C Discussion Posted: Sat Jun 21, 2014 5:05 am Subject: Re: ADC pic 12f683 |
Problem solved i have set in h. device ADC=16 i change to 10. |
Topic: ADC pic 12f683 |
peterzatko
Replies: 2
Views: 4391
|
Forum: General CCS C Discussion Posted: Sat Jun 21, 2014 4:50 am Subject: Re: ADC pic 12f683 |
any idea???? |
Topic: ADC pic 12f683 |
peterzatko
Replies: 2
Views: 4391
|
Forum: General CCS C Discussion Posted: Sat Jun 21, 2014 3:57 am Subject: ADC pic 12f683 |
Please help i´m begginner in c
i need use 10 bit adc i have ccs c version 5.0.17
My problem is maybe in adc because if i give on pin AN3 voltage 0,1 to 5V output is allways to low but if i give ... |
Topic: Please help with switch |
peterzatko
Replies: 10
Views: 10159
|
Forum: General CCS C Discussion Posted: Sat Jun 21, 2014 1:05 am Subject: Please help with switch |
if i compile writte error expression must evaluate to a constant
i need about 60 case
case (r < 10):
d = 10000;
break;
case (r > 1010):
... |
Topic: Please help with switch |
peterzatko
Replies: 10
Views: 10159
|
Forum: General CCS C Discussion Posted: Sat Jun 21, 2014 12:59 am Subject: Please help with switch |
i need about 60 case
case (r < 10):
d = 10000;
break;
case (r > 1010):
d = 5000;
break;
Does that even work in C?
I'm looking ... |
Topic: Please help with switch |
peterzatko
Replies: 10
Views: 10159
|
Forum: General CCS C Discussion Posted: Fri Jun 20, 2014 3:01 pm Subject: Please help with switch |
i use these
Hi,
In addition to the things already mentioned, your code strategy is really flawed. For example, expecting the A/D result to be exactly 1 or exactly 1023 is pretty unrealistic. ... |
Topic: Please help with switch |
peterzatko
Replies: 10
Views: 10159
|
Forum: General CCS C Discussion Posted: Fri Jun 20, 2014 12:44 pm Subject: Please help with switch |
i used it .
program nothing do with it or not |
Topic: Please help with switch |
peterzatko
Replies: 10
Views: 10159
|
Forum: General CCS C Discussion Posted: Fri Jun 20, 2014 12:34 pm Subject: Please help with switch |
int16 r; //0-65000 |
Topic: Please help with switch |
peterzatko
Replies: 10
Views: 10159
|
Forum: General CCS C Discussion Posted: Fri Jun 20, 2014 11:29 am Subject: Please help with switch |
I´m new in programming with C.
I need help with function switch.
My problem :
I have analog input on AN3 (its a 10 bit adc)
I read analog value from 0-1023
If analog value is 1 then variabl ... |
|