# Recent content by johnlong

1. ### I feel like a fraud!

If you dont get smoke its a bonus best thing is to have fun and keep the grey matter stirred up learning curves are the best curves welcome and enjoy the forum
2. ### Picaxe takes on Collatz

Hi All 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...
3. ### Not go to subsection in programing

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 do for b0= 0 to 12 if b0 =3 or b0=6 or b0=9 or b0= 12 then gosub mar else high C.1 endif next b0 loop mar: low C.1...
4. ### checksum

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 regards john
5. ### checksum

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 bytes=w6 symbol rbytes=w15;recieved byte main: b4=23:b5=36:b6=78:b7=96:b8=109:b9=15:b10=43;load some value for transmission ;would be the...
6. ### checksum

Hi All 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
7. ### checksum

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...
8. ### Hippy status, rev 2.0

What a lovely suprise when reading simple VGA for vga to see a responce from Hippy A big fat welome back, the knowloge that you are safe and well is most welcome
9. ### Hippy status, rev 2.0

I do hope not its been a sad time for alot of familys if the worst has happened I would expect revED to do the right thing and allow us all to pay our respects

Have a play with this have changed your if statement to a select case and added <= to turn the leds on and off #picaxe 28x2 main: do '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 case...
11. ### Bon à savoir Picaxe et interférences du 230V

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...
12. ### Hippy status, rev 2.0

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.
13. ### Hippy status, rev 2.0

I do miss a good telling off from Hippy when I write stupid code. I hope his return is fortcomming
14. ### suitable transistor

Hi Alan 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...
15. ### suitable transistor

Hi Alan Have placed an order for the BC327 from fleebay so will give it ago when they arrive thanks for the advice regards john