-
-
Notifications
You must be signed in to change notification settings - Fork 43
ds18b20 library for stm32 hal
License
nimaltd/ds18b20
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
I hope use it and enjoy.
I use Stm32f103vc and Keil Compiler and Stm32CubeMX wizard.
Please Do This ...
1) Enable FreeRTOS
2) Config a timer on CubeMX . 1us per tick example 72 MHz cpu >>> Prescaler=(72-1) counter period=65000
3) Select "General peripheral Initalizion as a pair of '.c/.h' file per peripheral" on project settings.
4) Config your ds18b20Config.h file.
5) call Ds18b20_Init(osPriorityNormal) on your app.
6) You can see result on debug . watch : ds18b20.