closed

Loginbox

Please enter your username and password into the following fields to log in.


  • Username:
  • Password:
  •  
  • Auto log in on every visit.


  •  

Optimiser



Merlin offline
Administrator
Avatar
Gender: male
Location: UNITED KINGDOM 
Age:
Posts: 1035
Registered: 03 / 2005
Private message
Subject: Optimiser  -  Posted: 13.09.2021 - 09:54   -  
It has been a while, but a couple of bugs have been found in the optimiser, one to do with very large 64 bit numbers (>$7FFFFFFF) and one to do with loops within a 'with' statement within a loop.

Updated optimiser attached.
You must be logged in or your permissions are to low to see this Attachment(s).
Merlin.

:magic:

Software is a black art.
go down go up
TheBeginner offline
Schreiberling
Avatar
Gender: n/a
Location: GERMANY  Wunsiedel Bayern
Age: 64
Posts: 599
Registered: 06 / 2013
Private message
Subject: Re: Optimiser  -  Posted: 13.09.2021 - 10:46   -  
Hello Merlin, something is wrong with your update, I am getting wrong values from my DHT22 humidity / temperature sensor.
Humidity = 11.6%
Temperature 14 degrees
Without your optimiser 59.7% and 22.9 degrees.
Greetings Frank


Hallo Merlin, mit deinen Update stimmt etwas nicht, aus meinen DHT22 Feuchte / Temperatur Sensor bekomme ich falsche werte.
Feuchte = 11,6 %
Temperatur 14 Grad
Ohne deinen Optimiser 59,7 % und 22,9 Grad.
Gruß Frank



____________________________________________
PS...

Can of course also be due to my timing program code from the DHT22

Kann natürlich auch an mein Timing Programm Code vom DHT22 liegen

Gruß Frank
------------------------------------------------------------------------
Als Gott mich schuf wollte er angeben.
This post has been edited 1-times. Last edit: 13.09.2021 - 10:51 by TheBeginner.
go down go up
Merlin offline
Administrator
Avatar
Gender: male
Location: UNITED KINGDOM 
Age:
Posts: 1035
Registered: 03 / 2005
Private message
Subject: Re: Optimiser  -  Posted: 13.09.2021 - 16:48   -  
Hi Frank. If you send me your project via pm, I will take a look.

Code
Can of course also be due to my timing program code from the DHT22


That could, of course be possible. Optimised code does run faster than unoptimised...

But either way, if you send me your project and indicate where it fails I will take a look.
Merlin.

:magic:

Software is a black art.
go down go up
TheBeginner offline
Schreiberling
Avatar
Gender: n/a
Location: GERMANY  Wunsiedel Bayern
Age: 64
Posts: 599
Registered: 06 / 2013
Private message
Subject: Re: Optimiser  -  Posted: 14.09.2021 - 17:17   -  
Der Optimiser ist ok, lag an meinen Timing :-)


Gruß Frank
------------------------------------------------------------------------
Als Gott mich schuf wollte er angeben.
go down go up
 


Registered users in this topic
Currently no registered users in this section

Delete cookies of this forum  •  FAQ / Help  •  Team page  •  Imprint   |  Local time: 18.10.2021 - 23:05