Search results

  1. lbenson

    How do i create a HOLD-in button function?

    Oops--was thinking of millisecond timer, as with some other micros. Change to 2 after the setting to 0 would work.
  2. lbenson

    How do i create a HOLD-in button function?

    M2 code: if pButton = 1 then: time=0: do while pButton=1 and time < 2000: loop: endif Any other code you want might be in the loop.
  3. lbenson

    My finished projects

    Truly impressive, with many elegant cases. I never get around to that part. Keep on keeping on. I'm 77, and need continuing inspiration from the older generation.:giggle:
  4. lbenson

    Toy Servo Control Question:

    I am sure there are differences by server, but I have found that for my pan and tilt rivercam, the servos hold if you give them 2 pulses (but not with just one). Live minutes ago: I'm happy to be in Florida, 1,440 miles away as the crow flies (if the crow could fly that far over water most of...
  5. lbenson

    Verification error

    Nice job. Re photos, if uploaded to the forum, 1) they won't go away if an outside site disappears or changes or subscription expires, and 2) you get a good preview in your post.
  6. lbenson

    automated cat feeder

    Right--welcome.
  7. lbenson

    08M2 actual pin4 change to adc function?

    Thanks. I should have specified what I would like to be able to power: an ESP32 S2Mini, which would be powered off most of the time, but would be brought back up to send a temperature change detected by the 08M2 (or other signal, such as motion-detected or additional temperature sensors). If I...
  8. lbenson

    08M2 actual pin4 change to adc function?

    This is clever, and I have an immediate use. Can you provide code (are pokes required?) and suggest a suitable n-ch mosfet (preferably one which would work at 3V3)?
  9. lbenson

    automated cat feeder

    Note that if your code has indentation to help make its structure easier to follow (which arguably every program should have--especially one which reaches the length yours has), you can preserve it in the forum by enclosing it in the forum tags "[ code]" and "[ /code]" (without the spaces...
  10. lbenson

    RC PWM to drive a Cytron MD20A motor controller

    Note that DEBUG is notorious for causing unexpected problems with timings. I personally never use it--always use SERTXD to get just the information needed.
  11. lbenson

    Light house simulation

    How many LEDs do you want? 29 12V outputs, 256 timed events: 20M2, MCP23017, ULN2803 Or the 45 LED version (without the ULN2803s):
  12. lbenson

    Editor locking up during simulation

    Gramps--note that if you enclose your code in the tags, "[ code]" and "[ /code]" (with no spaces), any formatting (indenting) you had will be preserved. (And note that indenting is good to help readers understand your code--and also to help you understand it if you look at it at a later time.)
  13. lbenson

    Editor locking up during simulation

    Learning to use the simulator is probably the greatest aid for a beginning PICAXE Basic programmer--you can single step to see exactly what your program flow is, which many beginners have a poor handle on. And if you can successfully simulate your program before you start wiring things up, you...
  14. lbenson

    Very interesting Power measurement IC, calibrate using LUTs??

    SONOFF POW Elite Power Meter LCD 16A (Not sure it is at all related to the post, but a great little device--though I find the 20A version without the LCD more in line with my needs.)
  15. lbenson

    Low-Power Battery Backup Reference Design

    Still lurking, and thanks. I had no idea when I posted that it could last as long as it did--11 years on the same 3 AAs. With an attached low-power radio transmitter, only turned on when needed, it could still form the basis of a monitor for a rarely-if-ever occurring event.
  16. lbenson

    Using a number instead of a letter-number discripter.

    Either designation should work for all current chips. For the 40X2, this lists the numbers: sertxd(cr,lf) for b1 = b.0 to b.7 sertxd(#b1," ") next sertxd(cr,lf) for b1 = c.0 to c.7 sertxd(#b1," ") next sertxd(cr,lf) for b1 = a.0 to a.7 sertxd(#b1," ") next sertxd(cr,lf) for b1 = d.0 to...
  17. lbenson

    how to get Picaxe chip to have sudden cuttoff as voltage drops vs fading

    This was for an 08M, not 08M2, but check out the thread Low-Power Battery Backup Reference Design -- 11 years on one 3AA battery just running at the lowest frequency possible (no sleep), blinking an LED with 22K resistor (barely visible if shaded), and checking to see if a pin was active. Your...
  18. lbenson

    Select Case

    Instead of all those "goto main"s, why not omit them and close with else goto wherever ' if necessary endselect goto main
  19. lbenson

    DesignSpark PCB Link not working.

    I'm finding EasyEDA more than adequate. Much more intuitive than, say, Eagle (and other schematic and pcb software I've tried). There's a large library, but its search engine could be improved--it can't find "Somepart" if it's actually labelled "Somepart_TH").
Top