Page 1 of 1

SHT21 macro error

Posted: Tue Mar 14, 2023 3:06 am
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 416 times

Re: SHT21 macro error

Posted: Tue Mar 14, 2023 9:20 am
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.

Re: SHT21 macro error

Posted: Tue Mar 14, 2023 9:55 am
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 4913 times

Re: SHT21 macro error

Posted: Tue Mar 14, 2023 11:57 pm
by niedian
I'm using V10, is the range of SHT21 only that small?

Re: SHT21 macro error

Posted: Wed Mar 15, 2023 9:01 am
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.

Re: SHT21 macro error

Posted: Wed Mar 15, 2023 2:19 pm
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.

Re: SHT21 macro error

Posted: Wed Mar 15, 2023 5:07 pm
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

Re: SHT21 macro error

Posted: Wed Mar 15, 2023 5:48 pm
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.

Re: SHT21 macro error

Posted: Wed Mar 15, 2023 7:04 pm
by jgu1
Well ok Martin. I just open niedian“s examble, yes it work with new panel, thank“s ;)