thanks for that checked the pre-processor was not uncheck pressed the restore defaults
and hey presto things back into shape compiled successfully and downloaded to the chip correctly
thanks for the quick reply
For sum reason all the codes I am working on and passing syntax yesterday are not
passing syntax today.
The fail is occurring where their is a # present so any macro or define is failing
I have not altered any settings in the editor and have not had any microsoft updates
as the 28x2 is...
I use Phil Hornby code a lovely piece of work that works straight out of the tin
Are you using the adafruit breakout board if so it has a 3v low dropout regulator fitted
so no problem if using 5v with it
Was having a read around some old posts and came across Buzbys post
on the number of times that you can write and read to the internal eeprom.
Does just reading from it of preloaded data have the same effect and wear it out
have tried both the pre processor report shows the macro called but the variable is at the end of
the process , seems to be splitting up the the command
REPORT created by syntax check
hsersetup B9600_8, %01
On a recient thread I posted Hippy wrote a macro for a word variable
I have tried to represent it for use with just a single variable but it will not
I have reread Hippys post on using macros but can not see why it will not work
but the word one does
I tend to use chip holders and buy dip components so any components that get washed are normally passives
ressistors capacitors and such not experianced any problems with them. Use to use electro solve spray librally in the control pannel
at work to clean away the high dust (manufacturing...
rewrote the code as per your layout in post 13
and have had 170 reads without a blimp
' 0 1 2 3 4 5 6 degC
Data( 6,11 , 6,57 , 7,06 , 7,58 , 8,13 , 8,72 , 9,35 )
' 7 8 8 10 11 12 13...
responce to post 15
That was the error I was getting
the calculation for Vp for the air temp at 24'C at a RH of 58% the 28x2 was returning a Vp of 1.684
to be correct at those values it should have returned a value of 1.730 which is shown in the 2nd image using those values in the test...
give those sleep Pixies a kiss from me have just rewriten the code as per your post 13
with substituting the air temp into vp and the leaf temp into svp results results
for the 2 values inline with the result of the calculator (marginable diffrences +/-1)
as you mentioned there must...
The 2 codes are diffrent the code for the picaxe28x2 obtains its values from a wireless connection via a pair of
The remote unit is a 20x2 reading a HTU21D for the air temperature and humidity and a MLX90614 IR sensor to obtain the
The calculation to...
As you seem to be having fun with the calculator you might like a look at transpiration rate
showing the effect that temperature enacts apon the plant
Have stripped out all the sertxd from the vpd gosub and moved to display gosub and change the variable for the leaf tempreture to satT to avoid
any possible confusion so each tempreture has its own variable and each result its own
V_Cal:'*********** VPD CALCULATIONS ************...
I am experiancing some diffrence between the test program and the results of the programed picaxe 28x2
they both use the same calculation adapted from the original that Hippy helped me with.
Both codes read the preloaded eeprom for the Air and leaf temperatues and obtain the correct SVP...