Search results

  1. F

    Faulty AX133 serial display?

    I have an AX133 16 x 2 OLED display that has gone faulty and wondered if there is a way of resetting it. As far as I know I haven't 'done' anything to it to cause the problem and it had been working fine for several months before this happened. At switch on, for a very brief instant the top...
  2. F

    serout versus hserout problem

    Hi I am writing a program that uses the Time variable and found it to be slow as a result of using serout to send data to an axe133 OLED display. Other posts on the Time/serout issue state that using the hserout hardware port avoids this problem. My simple test program using serout works...
  3. F

    18M2 Vref pin(s)

    I want to use an 18M2 ADC and improve the measurement accuracy with an external 1% reference 4.096V voltage source. The Picaxe manual 2 p.31 states that the Vref+ input is n/a for the 18M2, only Vref-, however the datasheet for the PIC16F1847 shows that both are available on the original Pic...
  4. F

    Code Explorer variable labels missing

    I've just updated Program Editor 6 to version 6.0.9.3 and I no longer have variable labels in the code explorer window, just their values. Where have they gone as they're all but essential to make sense of what's going on. I've probably done something dumb by I can't see what. Thanks Paul
  5. F

    Decimal to BCD conversion

    I have a project that uses the 1307 chip to provide reasonably accurate time. I want to be able to alter the time setting from the main program and have a routine that reads the individual clock parameters, any of which, after being converted from BCD to decimal, can be incremented/decremented...
  6. F

    Editor 6.0.8.4 not auto backing up since New Year date rollover

    For some reason my pc decided to seize up today whilst working on a project and before I had saved my latest software version. 'Never mind' I thought, it's backed up automatically, however, when I went to the backup folder, the last backup for any project was at 23:40hrs on 31st December 2015...
  7. F

    Interaction between 'time' and 'count'?

    I am using a count gosub routine with a 124mS period in a do - loop program with a number of other sequential gosubs within the loop. This all works fine until I add an elapsed time gosub routine to the loop that uses 'time' to count the number of minutes that the program has been running. A...
  8. F

    Picaxe Editor 6.0.6.2 simulation issue

    Time variable doesn't seem to increment in simulation and neither does a dependant variable, suggesting that the clock isn't running. Following simple loop illustrates the problem. It runs fine in version 5.5.6 let time=0 do b1=time loop Should have added, time isn't incrementing in Code...
  9. F

    reroute DEBUG command

    Program running on an 18M2 and using the SRQ latch. As SRQ latch out is shared with the serial data out pin, 'debug doesn't work'. I can use the serout function, routed to a spare port for selected data, but the tabulated debug format would be a lot more comprehensive and easier to read. Is...
  10. F

    Latch SRQ output not read in simulator

    I apologise if this has been noted from a previous post but I'm struggling with a code issue that uses this feature. I'm configuring the hardware latch in an 18M2 so that a positive pulse on SRl sets the latch (SRQ high), then the following code changes so that the next pulse resets SRQ low...
  11. F

    Confusion over the use of word variables and corresponding byte variables

    Am I right in thinking that once I have started using a word variable, I cannot then use its constituent byte variables for anything else, e.g. w0, b0 and b1? If I put 'write 0,b0 write 1,b1' to save the word variable w0 for a future 'read', can I no longer allocate b0 and b1 to anything else...
  12. F

    Reading SRQ status from software

    I want to use the 18M2 hardware latch and to be able to read the SRQ status (0 or 1) from the program. All attempts have so far failed, e.g. using let b1=pinC.3 etc. I could connect the SRQ to a spare input pin and read it that way but I'd rather do it from the software if possible, not least...
  13. F

    Using 18M2 serial input as standard input

    My 18M2 project requires seven digital inputs, any one of which going 'low' generates a predetirmined DAC voltage. It broadly works but the reassigned serial input (pin3, C.4) behaves oddly. The program includes a 'disconnect' statement and the pin has a 10k pull-up resistor to +5V, as have all...
Top