The dark cold nights are here so skipping around youtube increases found a video on the Collatz
conjecture, and thought seems a nice little exercise for the picaxe
'The Collatz conjecture in mathematics asks whether repeating certain simple arithmetic operations will eventually...
Hi Not totally sure but I think you want to flip between the 2 pins high and low have look at this in the simulator and see if you can work around it
for b0= 0 to 12
if b0 =3 or b0=6 or b0=9 or b0= 12 then
else high C.1
mar: low C.1...
Hi I finally see what you mean using the byte variable automatically does the //256 thereby no need for the extra coding and a saving of a variable,
welcome back Hippy good to see you are fine been a concern for alot of folks
Thanks Aries like you said a much simpler and more code efficient solution
played with it to add an error to see if it would pick up the error
symbol rbytes=w15;recieved byte
b4=23:b5=36:b6=78:b7=96:b8=109:b9=15:b10=43;load some value for transmission
;would be the...
Thanks all you were right over writing the b4 and b5 as you say altered total to w1 and bytes to w6 cleared up the issue nicely and cleared bytes and rbytes at the bottom of loop
Tried bytes//256 gave a result of total 144 checksum 256 the reverse of what the original produced
Hi all found a little explanation for a checksum online and replicated it
To possible use it for sending data between the 2 Dorji drf1278dm I have to test if there is any coruption
So I wrote a test rig
the thing is that the values that I preload for b4 to b10 alter after passing through the sub...
Have a play with this have changed your if statement to a select case and added <= to turn the leds on and off
'readadc A.1,b0 ; read value into b0
let pinsB = %0000000 ' switch pins 0 and 1 to outputs
select case b0
case <= 5 high B.7 ' if bigger than 5 jump
From goggle translate
Hello, What I know will save others long hours of research: For 2 years I had been using a Picaxe assembly (14M2) of personal design, which controls a fan and another small 230V motor. It worked fine until the moment when it - forgive me the expression - really started...
This pandemic has been brutal still been able to post is a blessing.
It would be nice if rev-ed would just give us a heads up that the gentleman is safe and well
would go along way to abaiting peoples concerns.
the p-n-p arrived today breadboarded it up and connected the base to grn via 1k ressistor as sugested works a treat.
reading 0v at rest
Put a 5 minute delay in to see if I can remove the card and reinsert it without a hissy fit.
works a treat able to take it out open it up read the data...