radiogareth
Senior Member
I bought one of these back in 2003. It does not compile certain PICAXE codes (Readtemp is a known example) for reasons of code confidentiality. I'm OK with that but I'm wondering if there is an upgrade available to reflect the newer/more modern codes, specifically IRout which I want to use.
Having looked at the pin waveforms from the native picaxe endlessly sending IRoutit "irout 0,1,101" it is going a LOT faster than this following code snippet does, even at 32MHz. (on an 08M2)
setfreq m32
do
high 1
low 1
loop
This manages a square wave with a Mark : Space ratio of 1:3 at 180uSec per cycle. (about 5,555 Hz) Nowhere near the 26uS stream needed for IR>>
So I'll answer my own question probably, IROUT is not supported by the PIC Programmer...... clever how they manage to make it deliver the IR individual pulses at 26uS though, within much slower code.
Comments anyone?
Having looked at the pin waveforms from the native picaxe endlessly sending IRoutit "irout 0,1,101" it is going a LOT faster than this following code snippet does, even at 32MHz. (on an 08M2)
setfreq m32
do
high 1
low 1
loop
This manages a square wave with a Mark : Space ratio of 1:3 at 180uSec per cycle. (about 5,555 Hz) Nowhere near the 26uS stream needed for IR>>
So I'll answer my own question probably, IROUT is not supported by the PIC Programmer...... clever how they manage to make it deliver the IR individual pulses at 26uS though, within much slower code.
Comments anyone?