Search results

  1. G

    hserflag vs hserinflag

    Thanks for the inputs, with appreciation for the efforts. Errors in the manuals are rare so I was hoping for an 'official' view as I can hypothesize but you never know what the subtleties are. I shall have to assume that they are synonyms for now. Interesting idea to set the size of the...
  2. G

    hserflag vs hserinflag

    I'm getting confused about hardware serial. Specifically, the difference between hserflag and hserinflag. hserflag: is bit 5 of the flags byte signifying, when set, that a background receive has occured, as per p 228 of the (latest) 2015 manual2: "Name Special function...
  3. G

    Converting temperature K to C maths not working

    You can always work in units of 1/10 or 1/100 degree and just insert the ./, later. to process (< 0) readtemp12 values into 1/10 degree: readtemp12 DB18B20_pin, W_received_temp W_received_temp = W_received_temp * 25/40 'convert raw DB18B20 readings to 1/10 deg bintoascii...
  4. G

    nested directives?

    a quick question for those familiar with pre-processor directives: Does nesting work? for example, which directive is ended first in this example: #ifdef A #ifdef B .. code #endif '1 .. code #endif '2 Does #endif 1 close #ifdef B (as I hope) or #ifdef A (as might explain something). I...
  5. G

    Can High LED Current Actually Burn Up Output Pins?

    For several years I helped out at a school, where a different brand of very similar chips were programmed by GCSE D&T pupils. Many of them forgot/didn't bother with the led dropper. I don't recall any failures. They were never on for long so time may be a factor. I even had chips connected in...
  6. G

    Dead links in the Picaxe store

    Whilst on this subject, the online reference is being updated but manual2 is not (current link goes to Version 7.9.2 10/2015). When you get time maybe this needs to be addressed.
  7. G

    Hsersetup problem

    Yes, thanks for the input. And just in case anyone else has this issue, note that you have to invert the Hserout signal to be compatible with sertxd/Serial Terminal: e.g. HSerSetup B4800_32, %10 Otherwise you get perplexing garbage
  8. G

    Hsersetup problem

    You are right, though I said incompatible as both are described in the current manual on the web site and there is no caveat regarding single use. I don't know how the pins are connected to the internal logic but I could quite imagine both might be possible together, though doubtless at the same...
  9. G

    Hsersetup problem

    Interesting. The manual does not say what the online reference that you quoted says. So that probably is the cause. Thanks for the info. Can't trust the manual any more.
  10. G

    Hsersetup problem

    Has it stopped? Well there aren't many other outputs, so it's going to be tricky if sertxd and hserout are incompatible. This isn't mentioned in the manual, though some potential conflicts are. Hmm. Time for a think.
  11. G

    Hsersetup problem

    Indeed. But this is the setup command, before any I/O is actually performed. Hence my question about the firmware. The chips may be a bit old, so it is possible that current chips use a later version.
  12. G

    Hsersetup problem

    The problem is as I said. Hsersetup hangs, I.e. the statement before executes and the statements after don't. If it helps, this is the code: sertxd("Hser;") HSerSetup B4800_32,%00 sertxd("Hser out;") The first sertxd does it's thing, then everything stops. Weird I know.
  13. G

    Hsersetup problem

    Just checking, but I'm having problems with hardware serial on an 08M2+. Is there any reason why Hsersetup might hang with firmware v4.A? Processing just stops. It works in the simulator.
  14. G

    20M2 MQTT node with ESP8266 ESP-01 running Annex (and PCB)

    I was expecting to hear about better prices, thanks. I wasnt expecting such a difference though. Leaving the 5v on the schematic is asking for trouble! Thanks for the work though! Still working on hardware here. Has anyone found a good android mqtt client? There are many but it isn't obvious...
  15. G

    20M2 MQTT node with ESP8266 ESP-01 running Annex (and PCB)

    Just one question so far: the ESP-01 is limited to 3.6v apparently. I'm using 3.3v. But you are using 4.5v/5v. I don't see a regulator. I am thinking of having some boards made so the issue is relevant. I'm not sure I trust my own eagle skills. And if anyone else in the UK wants some boards...
  16. G

    20M2 MQTT node with ESP8266 ESP-01 running Annex (and PCB)

    I'm just getting my hardware sorted for my experiments, but I'm a few days behind you with Node-red. Your guidance is appreciated! This stuff is extremely powerful, but there is a lot to learn. I'm very impressed with AnnexRDS.
  17. G

    20M2 MQTT node with ESP8266 ESP-01 running Annex (and PCB)

    the readtemp delay can be avoided by setting it up with a owout command and then later going to collect the data with owin. It doesn't have to be set up and read in the same command, you can do something else in the meantime. This is all very promising.
  18. G

    MQTT - picaxe transactions?

    This looks to be just the job, thank you. I hadn't yet come across AnnexRDS. So many firmwares. re hippy's question, what to do, well this pretty much sums up my current ambition - to share data fields across Picaxes linked by wifi, and possibly also to control devices. And to do it via mqtt...
  19. G

    20M2 MQTT node with ESP8266 ESP-01 running Annex (and PCB)

    This looks just the job. I will install it and see how I get on.
  20. G

    MQTT - picaxe transactions?

    esp-link apparently needs the uC to talk SLIP. This seems quite unnecessary to me. However, has anyone got code for a simple slip interface?
Top