-
-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Hi! i had download, setup and start this code at mine prj. no freertos.
TIM2 (no nvic int). 72mhz/ 72 -1 prescaler, 0xffff counter period. no interrupts
pin GPIOB 12
one ds18b20 (later will be two)
Ds18b20_Init return true in main begin before for(;;)
Ds18b20_ManualConvert calls every 20 secs and return true always
but, no temperature and no dataisvalid
i can see ds18b20 adress only.
this is my log:
16:37:33.222> initok
16:37:33.222> TimeDate: 21.09.16 4 16:37:28
16:37:33.911> readok
16:37:33.911> ds18b20[0]: 28 ff 4 99 50 17 4 bd
16:37:33.911> ds18b20[1]: 0 0 0 0 0 0 0 0
16:37:34.029> ds18b20[0]Temperature): 0
16:37:34.029> ds18b20[1]Temperature): 0
16:37:34.029> ds18b20[0]DataIsValid): 0
16:37:34.029> ds18b20[1]DataIsValid): 0
Metadata
Metadata
Assignees
Labels
No labels