Search results

  1. W

    Picaxe for DCC model railroads

    Also my DCC accessory/stationary decoder used for control of lighting in buildings and platforms plus some other actions: https://picaxeforum.co.uk/threads/picaxe-based-dcc-accessory-decoder.27439/
  2. W

    Clear screen cls

    Which display are you seeking to clear? for the 16x2 serial (i2c) AXE033 display for example send: 254,1,255 see manual page 7: https://picaxe.com/docs/axe033.pdf or is it the PE6 output display window you are trying to clear?
  3. W

    18M2 needed.

    Hello Tony, I have two spare PICAXE 18M2's and a third marked 18M2+ (all in through hole DIP format). I am located in Karrinyup approx 8km north of the Perth CBD. Appears that you are also in Perth. Let me know your contact and location details by Private Message. It may be faster to deliver or...
  4. W

    SERIN pin can be tied low to GND? or pulldown resistor preferred??

    I have used a 100 kOhm pull down resistor and may have 3 pin socket where a programming connection such as the AXE029 can be plugged in without problems.
  5. W

    Are >= and <= valid?

    The logic/test options including >= and <= are also in the online command under the IF . . . THEN Command https://picaxe.com/basic-commands/program-flow-control/if/
  6. W

    Picaxe "forgetting" firmware

    I have had one similar case with a 20X2. I constructed a project in mid January 2016 so likely the chip bought locally was from a 2015 batch. A while back (do not recall exact date) say around 18 months ago the project stopped working. I initially swapped out the RS485 interface chip without...
  7. W

    If then gosub

    As lbenson has suggested, try stepping through your program in the Program Editor in Simulate mode. It is unclear exactly what you are trying to achieve. You must press the pushbutton 20 times to complete the 10 cycles through P1 The first pass in P1: sets pin 1 (pin B.1) high but it is never...
  8. W

    Using 08M2 for PS2 Keyboard

    Ye that is correct, in the earlier chips the 18A and hen the 18X had the kbin command. Never the 8 or 14 pin chips. Snip from earlier 2004 PICAXE Manual Part 2:
  9. W

    picaxe with eeprom memory

    If you are going to add an RTC then higher accuracy versions such as the DS3232 include around 256 bytes of battery backed RAM and if needed alarm settings with interrupts. The RTC battery keeps the time running and the RAM data retained which can avoid the need for external EEPROM or FRAM.
  10. W

    Byte variable math, can calculations be greater than 255?

    Yes, internally during a calculation the math is to 16 bits (0 to 65535) even when the variable into which the final result is stored is defined as a byte (8 bits) so long as the intermediate math within a calculation does not exceed 65535 then the result is correct.
  11. W

    Programming tutorials/websites to learn how to use the BASIC programming codes

    Tentatively a start. There is also the first edition. However, beware that at the time of publication of the first edition I had reviewed the content for David Lincoln and initially he had a web page page for the identified addendum:corrections which has since been erased/gone. Maybe the...
  12. W

    Programming tutorials/websites to learn how to use the BASIC programming codes

    There are: 1 the PICAXE manuals with the instructions (part2) and some basic circuits with example code (part 3). https://picaxe.com/getting-started/picaxe-manuals/ 2. The BASIC commands on line -that are more up to date and at the bottom of each webpage some examples...
  13. W

    Download Circuit Question

    If the circuit is: 1 only used by you 2. You do not use poke or SRF poke commands 3. The voltage does not exceed the PICAXE supply voltage then YES The program download pin is a bidirectional pin which the PICAXE firmware endeavours to limit to use as an input. But if any code error using...
  14. W

    how do i remove a post

    I found nhphantom had duplicated the post in the active forum and deleted the initial copy in the finished projects folders. Had messaged nhphantom to advise done 👍 But neglected to indicate done here 😱
  15. W

    random function to choose a number 1 thru 6

    Internal math is to 16-bit, so try Rollbyte = random W0 * 252 / 256 // 6 + 1
  16. W

    PEBBLE - Picaxe Electronic Bread Board Layout Emulator

    An error has been identified with the Programming Socket image in left-right orientation where the labelling for the 0V and SI terminals was transposed. The corrected image is attached and should be copied into the PEBBLE/Images folder
  17. W

    Has PEBBLE Been Abandoned?

    I had a further look this morning. All there programming socket images except that highlighted by bogbean were correct. Copy of the corrected image file for the terminal_134 which belongs in the PEBBLE/Images folder is also attached here (this copy edited in PaintShop Pro V9.01). I will also...
  18. W

    Has PEBBLE Been Abandoned?

    I will endeavor to investigate the matter of the incorrect image tomorrow (wed). I use (also now old) Jasc Paintshop Pro V9, which while older than, is compatible with win10.
  19. W

    Testing quote and link to quote

    At the top of the post you wish to link to there is 1. The day and time at the left 2 three icons at the right. From right to left they are: post number, bookmark and LINK/Share (the one that looks like 3 small boxes linked). click on the LINK icon and a pop up appears with the address you need...
  20. W

    eeprom endurance

    The RESET command is supposed to do the same as disconnecting and restoring power and according to the online Command reference this includes reset of all variables, the stack and “etc”. Refer: https://picaxe.com/basic-commands/program-flow-control/reset/ That is not categoric as to whether non...
Top