Search results

  1. J

    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. J

    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. J

    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. J

    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. J

    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. J

    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. J

    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. J

    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. J

    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
  10. J

    how to Simulate readadc

    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. J

    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. J

    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. J

    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. J

    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. J

    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
  16. J

    suitable transistor

    Thanks Alan the device is set to T9600 where I pull the serial out high pause 100 before transmiting any data after which the write the line is held low until the next write. Will that help with any possible phantom powering issues regards john
  17. J

    suitable transistor

    Hi All try to interface the sparkfun uSD data logger to write a once a day file I have it running and writing but if I remove the card with the power connected it goes into a hissy fit with both leds flashing alternatively So I figured why not place a transistor on the V+ as a switch turned on...
  18. J

    X2 program slots

    Hi No the M series use Parallel Task an explination is in manual 1 on page 62 under Parallel Task Processing regards john
  19. J

    X2 program slots

    Hi I run a program across all 4 slots I use 1 varible as an indicator as to which slot has being called and where to return too after diffrent functions have been inacted. regards john
  20. J

    Syntax Error on an ELSEIF statement

    Hi jon done a little test rig for you to look at for the select case b1=210 do inc b1 select case b1 case 212 to 220 'daclevel 1 low b.6 high b.7 sertxd("high B7"," b1 =",#b1,cr,lf) case 221 to 227 'daclevel 2 low b.7 high b.6 sertxd("high B6"," b1 =",#b1,cr,lf)...
Top