Search results

  1. M

    Input Mask

    I'm sure I'm missing something easy but on a 28X2 module I have 4 pulled up inputs on C.0......C.3 I'm using PinsC to reference the pin state but finding I'm picking up signals on C.4 thru C.7. How can I mask out the higher bits? I've tried b3 = PinsC & %0000xxxx but get a syntax error. Thanks
  2. M

    AXE200 28X2 module ADC Setup

    I'm using a AXE200 28X2 module to drive a L298 motor driver. Everything is now working but I want to be able to monitor the current through each motor using the voltage across two .5 ohm resistors on the current sense pins. The inputs are on pin A.3 (ADC3) and B.4(ADC11), virtually all the...
  3. M

    Interrupt not reseting

    I set an interrupt at initialisation that works fine, however, it doesn't seem to reset. The code below works fine on the simulator but apparently not on the chip 08M. Any thoughts. Matthew Interrupt: high LED low 1 low 2 If pin4 = 0 then Interrupt Gosub Rl1OnTime Gosub Rl2OnTime Gosub...
  4. M

    Simulator Write Error

    I have a program that is reported by the syntax checker as 226 bytes long destined for an 08-M. Using the simulator the program runs fine until it reaches: Write 226,b1 At which point I get a "write error-overwriting program" I've tried using higher memory locations but still get the same...
  5. M

    Dual channel timer

    I need to measure the time a button is pressed and store this to non volatile memory in a PIC 08 I'm trying to drive two relays with different time intervals programmed from a single push button. A single LED to provide feedback. The programming sequence would be: 1st press Enter programming...
Top