Recent content by Aries

  1. Aries

    Getting Data from Adafruit Ultimate GPS V3 onto 28x2 Picaxe

    This is part of my code for a Picaxe M2 getting date & time - I have decoded location as well, but it wasn't relevant to my needs here. #define GPSfreq T9600_32 #terminal 38400 symbol GPSTX = B.1 symbol GpsDataArea = 100 symbol GpsAreaSize = 60 symbol GpsAreaSizeMinus1 =...
  2. Aries

    How do i create a HOLD-in button function?

    Indeed, the code as shown waits 2000 seconds (not 2000 milliseconds). It will work, with a suitable settimer value, on X2. But again, if you are using timer (X2 equivalent) for anything else, you will need to count and test the time from the start by using a couple of word variables.
  3. Aries

    AXE033 OLED Module problem

    The AXE033 seems to be for LCD, although I suspect the interfaces are probably the same. I think the IC is a Picaxe 18M or 18M2, which you could program/reprogram using the code RevEd provide. Also, I see that the PCB itself is on sale at £4.99 (++)
  4. Aries

    6174-Kaprekar's Constant

    Without the setting of value at the start, and without any of the sertxd statements, mine comes in at 147 bytes. The test for all-equal digits is a trivial consequence of using MIN and MAX - if they are the same, then all the digits are the same.
  5. Aries

    6174-Kaprekar's Constant

    This is my take on it. Rather than use a conventional sort, as there are only 4 values, I find the min and max using the Picaxe functions, pass through looking for where they are, pack the remaining ones (leaving two) and then do another MIN/MAX to get the order. symbol value = 100 w10 = 6542...
  6. Aries

    The Pulsin command takes too much time - in search of ideas

    Have you considered using the COUNT command instead? It can count the number of pulses in a short space of time (particularly if you use a higher frequency for the Picaxe (e.g. m16 or m32). I have used it with a Picaxe 20x2 to count the pulses from a flow meter.
  7. Aries

    Where do I need to download PE6 from ?

    I suspect this is a matter of semantics. PE6 is free, so you can't buy it. "Therefore", if you can't buy it, it must be out of stock.
  8. Aries

    Itron EverBlu Cyble Water Meter Reader

    This project dates back to 2019 when a new water meter was installed outside the house. It was difficult to read because of a large lump on top which all but obscured the numbers. This turned out to be the EverBlu Cyble transceiver. I found a very useful explanation of the setup here ...
  9. Aries

    Send multiple (64) bytes via I2C in a loop?

    Not if you use @bptrinc.
  10. Aries

    Send multiple (64) bytes via I2C in a loop?

    You could always have a loop which writes N bytes and executes 64/N times (N a power of 2, of course)
  11. Aries

    LCD

    Look at the manual (serout). The format is serout pin,baud,data You are using N2400 - i.e. 2400 baud (the clue is in the name) You will need to use N9600. If you look at the manual, you will see that the mode is suffixed by "_X" where X is the speed of the Picaxe. If you need 9600 baud, you...
  12. Aries

    SimpleRandomWithNumberRange

    This gives a sequence of random numbers in the range LowNumber to HighNumber (which can be variable) In the simulator, readadc10 doesn't do anything useful, but it often works with an unallocated pin in real life. random generates numbers in the range 0 - 65535. Using ** means effectively...
  13. Aries

    Password

    Are you able to change your password using your work laptop?
  14. Aries

    Using a number instead of a letter-number discripter.

    As you said earlier, there is the catch with X2 chips that the ADC numbers do not match the pin numbers - and they are not necessarily even sequential - so READADC in a loop only works with M2 chips (fortunately mine was a 20M2, and I did use for b0 = B.1 to B.4
  15. Aries

    Using a number instead of a letter-number discripter.

    I have also very occasionally used the "number" variation for pins, usually when I want to do a READADC on a sequential set of pins (e.g. B.1 to B.4) within a FOR loop.
Top