DC18B20 No temperature

For general Flowcode discussion that does not belong in the other sections.
medelec35
Valued Contributor
Posts: 2475
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 794 times
Been thanked: 853 times

Re: DC18B20 No temperature

Post by medelec35 »

If you bare with, I'm modifying the DS18B20 so it should work the same as Arduino ide version.
Hopefully then you can use it for P and non P types.
You OK testing the modified component when I have finished it?
BTW the demo version on the Wiki should work for not P versions until used with modified component.
Martin

jgu1
Posts: 973
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 905 times
Been thanked: 219 times

Flowcode v11 Re: DC18B20 No temperature

Post by jgu1 »

Yes, of course! I’d be happy to test it if you make a new component, definitely. It would be great if all the different types worked. I’d better go and collect all the P models from the trash bin again, then! ;)

medelec35
Valued Contributor
Posts: 2475
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 794 times
Been thanked: 853 times

Re: DC18B20 No temperature

Post by medelec35 »

Can you let me know the exact name of the DS18B20 library and who is by and attach the ino sketch you used.
If it does not attach then just rename the extension to .txt or zip it up.
Reason being I don't have P version so need to use a normal version in parasitic mode.
I need to test it works with the sketch you used to make sure it works in that mode.
Martin

medelec35
Valued Contributor
Posts: 2475
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 794 times
Been thanked: 853 times

Flowcode v11 Re: DC18B20 No temperature

Post by medelec35 »

Unfortunately the sensors I have don't work in parasitic mode as they are not genuine.
Therefore I'm unable to test the modified component.
Browse to this location using File Explorer, it's hidden by default so just paste the link into your address bar.

Code: Select all

%ProgramData%\MatrixTSL\FlowcodeV11\FCD\PIC\
Replace the original files with the attached versions.
If Flowcode is already open, then you will need to reload your project.
If you run any component updates, then the fcdx you added will be overwritten.
Attachments
One_Wire.fcpx
(10.19 KiB) Downloaded 1 time
Temp_DS18B20.fcpx
(9.65 KiB) Downloaded 2 times
Martin

Post Reply