Search results

  1. S

    20x2 C.3 ADC input?

    Hi, I'm puzzled (nothing new there!) 20x2 rev c.3 Simple ADC input read. 10K resistor from pin to Gnd 1K resistor from source to pin Voltage measured at pin C.3 is variable from 0 to supply (as expected) Running this code: symbol ButtonRead = c.3 Let DirsC = %10110100 let adcsetup =...
  2. S

    Wait for 1 of 3 inputs to go high

    Hi all, I'm sure it's due to old age but I'm having serious brian fade. I have 3 inputs and want the program to wait until one of them goes high. WaitForButton: do loop while Buttonset <> 1 or buttonup <> 1 or buttondown <> 1 I would expect this code to sit in the do loop until one input...
  3. S

    "Min 1" when a variable starts as 0

    Is this a bug or is this the way it is supposes to work? elseif buttondown = 1 then IntervalSeconds = IntervalSeconds - 1 min 1 I've only posted the relevent section of code but I'm confident there is nothing else interfering. It is part of a small routine to increased and...
  4. S

    AXE132 - Predefined messages problem

    I'm trying to use an AXE132 with predefined messages. The Display is a standard 4x20 LCD off the bay. I've changed the AXE134 program downloaded from rev-ed' revision: ; AXE134 Serial 20x4 OLED using PICAXE-18M2 ; Emulates basic serial operation of the popular AXE033 module ; CPS, May 2011 ...
  5. S

    20x2 - Is there a faster way of setting an output high in response to a high input

    I've been doing some timings on a 20X2 running at 64MHz I want to get the fastest, reliable, response to a high input setting an output high. I've been testing using a switch as an input and timing how quickly the Output will go high in response to a switch press. All timings done using a...
  6. S

    20x2 non volatile memory

    Hi all, after searching through the forum I'm a bit unsure of the non volatile memory available on the 20x2, various posts seem to contradict each other (from contributors who appear to have a good knowledge of the picaxe). So could someone confirm if Table memory is non volatile on the 20x2...
  7. S

    20x2 using A.0 for output to LCD

    Hi all, Using a 20X2 for a project with the standard download circuit, using AXE027 download cable. I need to send output to an LCD using AXE132 Serial LCD driver. Are there any problems with using A.0, the SEROUT pin, to send data to the AXE132? When the programming cable is disconnected I...
  8. S

    Setfreq and external resonator

    From what I understand, reading through the manual, if I add a 16MHz resonator to a 28X2 it will automatically run at 64Mhz, there is no need to use the Setfreq command. Is this correct? Suppose I have a circuit with the resonator connected can I override the 64MHZ with setfreq? I.e the...
  9. S

    Capacitor - How to work out how long they can supply a load?

    Hi all, Bit of basic electronics help please. I need to work out if it is feasible to have a reservoir capacitor to supply a circuit if the power fails, it needs to supply the circuit for a short time. So the question is knowing the voltage applied to the capacitor, and the circuit obviously...
  10. S

    Techsupplies shop VAT? Conspiracy ;-)

    Looks like Techsupplies are in league with the government and charging VAT twice. The prices shown in the shop have a VAT included price, which appears as the item price in your basket. Then they add VAT on again. Techsupplies must be an agent of the government and, not content with the...
  11. S

    Gosub not returning to point it was called

    Hi all, First attempts with a picaxe and starting to develop some code. this code is nowhere near complete but a working model that I am running through simulate. Subroutine noise calls 2 other subroutines, the first one, setthresh, works fine and the return goes back to noise however noise...
Top