SHT21 macro error

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
niedian
Posts: 85
http://meble-kuchenne.info.pl
Joined: Thu Jan 07, 2021 11:28 am
Has thanked: 3 times
Been thanked: 4 times

Flowcode v10 SHT21 macro error

Post by niedian »

SHT21 macro error. During the simulation process, the obtained data is basically unchanged. Always show a fixed value.
SHT21 macro error.fcfx
(13.93 KiB) Downloaded 61 times

Steve-Matrix
Matrix Staff
Posts: 1269
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 169 times
Been thanked: 285 times

Re: SHT21 macro error

Post by Steve-Matrix »

I'm not familiar with that component, but when I run a simulation the values displayed on the LCD are not fixed and do change. However, the values are not the same as those on the SHT21 component. The Humidity changes between -6.00 and -5.88, and the Temperature changes between -46.8 and -46.5.

medelec35
Matrix Staff
Posts: 1464
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 514 times
Been thanked: 474 times

Re: SHT21 macro error

Post by medelec35 »

Hello, What version of flowcode are you using?
When you start a new topic can you use either the 9 or 10 post icon please.
Post Icons.png
Post Icons.png (10.15 KiB) Viewed 1306 times
Martin

niedian
Posts: 85
Joined: Thu Jan 07, 2021 11:28 am
Has thanked: 3 times
Been thanked: 4 times

Re: SHT21 macro error

Post by niedian »

I'm using V10, is the range of SHT21 only that small?

medelec35
Matrix Staff
Posts: 1464
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 514 times
Been thanked: 474 times

Re: SHT21 macro error

Post by medelec35 »

Hello.
Thank you for the spot.
It is a bug and I have now fixed it, so you will get the full range that the component shows.
The fixed component will be pushed onto the update system as soon as possible.
If you would like to try the component before the updates are pushed.
Browse to this location using file explorer, it's hidden by default so just paste the link into your address bar.

Code: Select all

C:\ProgramData\MatrixTSL\FlowcodeV10\Components
Replace the existing files with the attached files.
If Flowcode is already open, then you will need to reload your project for the new components to work
If you run any component updates, then the components you added will be overwritten.
Attachments
EBM016_Humidity.fcpx
(4.9 KiB) Downloaded 38 times
Humidity_SHT21.fcpx
(4.89 KiB) Downloaded 40 times
Martin

medelec35
Matrix Staff
Posts: 1464
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 514 times
Been thanked: 474 times

Re: SHT21 macro error

Post by medelec35 »

Hello.
I can confirm the updated component has been pushed onto the update system.
If you run a component update The component I posted will be replaced with the latest version.
Martin

jgu1
Posts: 615
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 509 times
Been thanked: 132 times

Re: SHT21 macro error

Post by jgu1 »

Hi Martin!

Sorry for brake in ;) The value change now in simulation after update, but if I try to move the component in the 2D panel, it is not possible and if I try to increase them it not possible or make a strange size?

Jorgen

medelec35
Matrix Staff
Posts: 1464
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 514 times
Been thanked: 474 times

Re: SHT21 macro error

Post by medelec35 »

hello Jorgen.
I just added a new 2D panel and it moved OK.
It just ended up in the top left corner. After dragging and resizing all was good.
Try this.
Drag the component you wish to move to the bottom right of the center cross of the legacy panel and then use the move command.
If the component does move out of view just set Y and X locations to 0, 0 from the properties.
Martin

jgu1
Posts: 615
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 509 times
Been thanked: 132 times

Re: SHT21 macro error

Post by jgu1 »

Well ok Martin. I just open niedian´s examble, yes it work with new panel, thank´s ;)

Post Reply