Search results

  1. P

    Strange ADC behaviour on 20X2

    This is my program: #Picaxe 20X2 #Terminal 9600 #No_Table #No_Data symbol PotA = b.1 ;ADC2 symbol PotB = b.2 ;ADC4 symbol ValueA = b25 symbol ValueB = b24 symbol ValueC = b23 let adcsetup = %000000000010100 Test2: readadc PotA, ValueA readadc B.1, ValueB readadc PotB, ValueC pause...
  2. P

    Unknown firmware on 20X2

    Was programming and downloading to the 20X2 for about an hour. I then failed to download and then checked the firmware to discover Unknown Firmware D.2 and a blank where it should say 20X2. Any ideas. Using progedit 5.5.6.
  3. P

    ADC1 on 20X2 confusion

    On the 20X2 pin 18 is B.0 / ADC1. The following piece of code was tried with the results shown: symbol Voltage = b.0 readadc Voltage, b1 ;readadc Voltage, b1 ^ ;Error: ADC channel 0 does not exist! ;This line passes the syntax check readadc b.0, b1 Whats happening?
  4. P

    PCF8574A and hi2cin

    It appears that the hi2cin 0,(j) command sets all lines on the PCF8574A low. This means that when a button is detected the appropriate LED lights for 1 sec and then goes out when the prog loops around for the next hi2cin 0,(j) command. Circuit and prog attached. symbol i = b23 symbol j = b22...
  5. P

    I2C PCF8574 all leds on outputs flicker as each one is turned via 20X2

    The code below is cycling a bulb from dark to bright and back again using h12cout to a L293D motor driver chip on my 20X2 board. This works great and was just a test. I also sent a binary count sequence to four leds on the PCF8574 chip and notice that as they change state a visible flicker...
  6. P

    20X2 Independent PWMs

    Can I use the PWMOUT C.5 to generate 38KHz IR carrier while using the HPWM B to generate 150Hz PWM for motor control? I think the answer is no! I'm thinking of using a 555 for the IR carrier if this is not possible.
  7. P

    I2C Communications between two 18M2's

    How do you suggest I set up two 18M2's to communicate with each other via I2C.
  8. P

    18X v. 20X2

    Is there any compelling reason not to use the 20X2 over the 18X? 20X2 seems better all round and same price.
  9. P

    test

    Just wondering if anyone is using the Picaxe in third level courses. I teach 8051 and some robotics programming and I'm considering using the picaxe. Edited by - pmulvey on 10/03/2006 10:08:47
  10. P

    Test

    Just a test to see if it works! <code><pre><font size=2> Test Code </font></pre></code>
Top