bluelasers
Advanced Member level 4
- Joined
- May 20, 2014
- Messages
- 115
- Helped
- 33
- Reputation
- 66
- Reaction score
- 33
- Trophy points
- 28
- Activity points
- 1,086
DEFINE ADC_BITS 10
If i < 10 Then
Adcin 0, tempdig
WaitMs 1000
k = tempdig
tempan = k * 5 / 1023
kk = tempan
kkk = kk * 100
kkk = kkk / 2
kkk = kkk - 20
i = i + 1
accuratetemp = accuratetemp + kkk
Goto acctemp
Else
Endif
accuratetemp = accuratetemp / 10
accuratetempp = accuratetemp - 30
If i < 10 Then
Adcin 0, tempdig
WaitMs 1000
k = tempdig
tempan = k * 5 / 1023
kk = tempan
kkk = kk * 100
i = i + 1
accuratetemp = accuratetemp + kkk
Goto acctemp
Else
Endif
accuratetemp = accuratetemp / 10
kkk = kkk / 2
kkk = kkk - 20
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?