toxicmouse
Senior Member
i have got an 18X to receive the pulses from a RC receiver, but the same code does not work on a 28X (pulsin 0, 1, w0).
the 18X is at 4MHz, the 28X at 16MHz. using input0 in both cases. the 18X shows the correct pulse length, from 0,85mS to 2mS, and the 28X show 0.
annoyed, i connected the 28X to another picaxe, which output servo 1, 150. using the same code as before (pulsin 0, 1, w0) the 28X read 676
676/4= 169 (/4 for 16MHz), which is not great but better than 0.
i suspect there is a problem with interfacing, as the problem only starts with the RC.
any suggestions welcome. thanks.
the 18X is at 4MHz, the 28X at 16MHz. using input0 in both cases. the 18X shows the correct pulse length, from 0,85mS to 2mS, and the 28X show 0.
annoyed, i connected the 28X to another picaxe, which output servo 1, 150. using the same code as before (pulsin 0, 1, w0) the 28X read 676
676/4= 169 (/4 for 16MHz), which is not great but better than 0.
i suspect there is a problem with interfacing, as the problem only starts with the RC.
any suggestions welcome. thanks.