FAQ | Points | Add... | Recent posts | Search | Register | Log in


Pytanie DS18S20 i ATTINY 2313


Post new topic  Reply to topic      Main Page -> Forum Index -> Programming Generally -> Pytanie DS18S20 i ATTINY 2313
Author
Message
lukego
Poziom 16
Poziom 16


Joined: 14 Sep 2003
Posts: 294

Post#1 Post from the author of the topic 17 Mar 2007 22:21   

Pytanie DS18S20 i ATTINY 2313


1.Czy ten program będzie działał ?

Config 1wire = Pind.0
Dim T As Integer , T1 As Integer , Tmp As Byte , Bd(9) As Byte
Display On
Cursor Off
Cls
Do
Wait 1
1wreset
1wwrite &HCC
1wwrite &H44
Waitms 750
1wreset
1wwrite &HCC
1wwrite &HBE
Bd(1) = 1wread(9)
1wreset
Tmp = Bd(1) And 1
If Tmp = 1 Then Decr Bd(1)
T = Makeint(bd(1) , Bd(2))
T = T * 50 : T = T - 25 : T1 = Bd(8) - Bd(7) : T1 = T1 * 100
T1 = T1 / Bd(8) : T = T + T1 : T = T / 10
Cls
Lcd T
Loop
End

2. Czy 1wire można odpalić na procku bez oscylatora kwarcowego ?

3. Jak ustawić fusy, tak, żebym mógł podłączyć zwykły oscylator 4MHz bez podziału

Pozdrawiam !

lukego
Back to top
   
Google

Google Adsense


Post# Post from the author of the topic 17 Mar 2007 22:21   





Back to top
   
Post new topic  Reply to topic      Main Page -> Forum Index -> Programming Generally -> Pytanie DS18S20 i ATTINY 2313
Page 1 of 1
Similar topics
Attiny 2313 i odbiornik IR (2)
Zegar attiny 2313 (2)
Biblioteki do attiny 2313 (10)
Programowanie Attiny 2313 (4)
ATtiny 2313 (4)
Jaka jest różnica między attiny 2313-20 a 2313-10 ? (2)
Pytanie dotyczące ATTINY-2313 (7)
DS 1820 x 8 na attiny 2313 (4)
Czestosciomierz na attiny 2313 (6)
Attiny 2313, BASCOM do C++ (6)

Page generation time: 0.091 seconds


FAQ || Administrator || Moderators || Widgets and banners || Contact
elektroda.pl topic RSS feed