View previous topic :: View next topic |
Author |
Message |
illim
Joined: 21 Jun 2019 Posts: 2 Location: Pakistan
|
MAX31865 library |
Posted: Fri Jun 21, 2019 1:23 am |
|
|
I am interfacing pic 18f452 with pt 100 sensor. For that purpose i am using MAX31865 ic so i need library for that or any example code so that i i can proceed in measuring temperature. Thanks. |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19549
|
|
Posted: Fri Jun 21, 2019 1:37 am |
|
|
It's called programming...
Just write a driver.
However, this has been discussed before:
<https://www.ccsinfo.com/forum/viewtopic.php?t=52510>
and for the 31855, which has a lot in common, drivers have been posted:
<https://www.ccsinfo.com/forum/viewtopic.php?t=55469>
<https://www.ccsinfo.com/forum/viewtopic.php?t=49599> |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9245 Location: Greensville,Ontario
|
|
Posted: Fri Jun 21, 2019 4:34 am |
|
|
It's probably a 'generational thing' or 'cut and paste programming'. When I started, we'd get real databooks, some chips and discretes, wirewrap and then code. Back then it was all assembler for PICs. LOTS of 15 minute coffee breaks....same amount of time as the UV erasing of niffty looking quartz windowed PICs !
Always be sure to carefully read a 'driver' or 'library' for any device. The creator may have made it specific for HIS application, say unipolar for an ADC device that actually can be bipolar. Compare registers and values compared to the device's datasheet and 'apnotes' !
Jay |
|
|
illim
Joined: 21 Jun 2019 Posts: 2 Location: Pakistan
|
|
Posted: Fri Jul 26, 2019 2:07 am |
|
|
Thanks...
I am able to communicate with the ic.
Upload code later... |
|
|
|