Search results

  1. J

    More simulator strangeness

    The simulator is having trouble 'peek'ing values that were written using indirect pointer addressing. Consider the following code... pause 1000 first: ;basic poke/peek test poke 28,11 peek 28,b5 ;write some ram using bcdtoascii command and indirect addressing bptr = 32 b0 = 45 bcdtoascii...
  2. J

    In praise of indirect addressing

    I am so glad this is available in the new 18M2. I was quite used to the idea from past experience with assembly code, and it is SO powerful in the picaxe Being able to do things like symbol temp = b0 ;use general storage for time values symbol second = 32 symbol minute = 33 symbol hour = 34...
  3. J

    simulating a timeout on serrxd quits simulator

    I am using a serrxd command with a timeout symbol fred = b5 main_loop: serrxd [1000, main_loop],fred When I run the simulator a dialog pops up asking for input, and I click on the 'simulate timeout' button. Instead of branching to the main_loop the simulator stops running. To make it...
  4. J

    18M2 and simulator disagree

    This simple little serial menu program works correctly in the simulator, but when the 18M2 runs it, the select case always defaults to "Not Valid" main: sertxd("1. test1",cr,lf) sertxd("2. test2",cr,lf) sertxd("3. test3",cr,lf) sertxd(cr,lf,"Choose...",cr,lf) get_in: serrxd b1 select b1...
  5. J

    Help with comms to 18M2 on CHI030 board?

    I have purchased my first picaxe. It's an 18M2 on a CHI030 board. I have got it talking to my computer, partially. I can see it's "Hello, I am your PICAXE-18M2" in the terminal in AXEpad, but can't seem to send any sensible data to it. Going back a step, I already had a USB to RS232 cable...
  6. J

    What is the max supply voltage for the new 18M2?

    I see they can work down to 1.8 volts, but does this mean they have a max supply voltage of 3.3 like the other low voltage parts, or can they work from a 5 volt supply still?
  7. J

    Question on CHI030 output rating

    Why does the CHI030 claim 800ma output rating when the Ti datasheet says 500ma for the ULN2803A chip (http://focus.ti.com/lit/ds/symlink/uln2803a.pdf) ?
  8. J

    Rough time of day needed for lighting timer

    I need to turn lights on and off at certain times of day, and it doesn't need to be very accurate - within ten minutes or so is fine. So, I would rather not have to use a RTC chip for it. Can this be done in software, even using the 'elapsed time' variable I see mentioned in the new 18 pin...
Top