Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doesn't work in nonRtos mode #7

Open
Arcanum753 opened this issue Sep 16, 2021 · 0 comments
Open

doesn't work in nonRtos mode #7

Arcanum753 opened this issue Sep 16, 2021 · 0 comments

Comments

@Arcanum753
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant