Hi,
just received my latest order from Rev-Ed - only took a day from ordering on-line to my door
Included with the order was the complete range of the new M2 chips to play with.
I,ve got a problem with the 18M2 chip - it doesn't seem to like the setfreq command. PE goes through the
prgramming fine, but the picaxe refuses to run with any setfreq command - even setfreq m4 (which is effectively the default frequency). Here is the program (i,m trying out some 433mhz modules, the 18M2 is the TX).
Note I,m using an AXE90 experimental breadboard and 4 x AA nihm for power which are giving out just over 5 volts.
I know the 'axe isn't running because nothing is displayed on the terminal screen, nothing is received by the RX, and my PC speaker stops buzzing every second when data is supposed to be transmitting.
Confused!
((PS the forum doesn't like percentage sign111100)) - now fixed - turn off auto parse
Texy
just received my latest order from Rev-Ed - only took a day from ordering on-line to my door
Included with the order was the complete range of the new M2 chips to play with.
I,ve got a problem with the 18M2 chip - it doesn't seem to like the setfreq command. PE goes through the
prgramming fine, but the picaxe refuses to run with any setfreq command - even setfreq m4 (which is effectively the default frequency). Here is the program (i,m trying out some 433mhz modules, the 18M2 is the TX).
Code:
#picaxe 18M2
;setfreq m8
symbol TXD = b.3
let dirsb = %11111100 ; b0,1 i/p, rest o/p <<<<<< note % sign missing and it should be 11111100 ?????
sertxd("Start!",cr,lf)
low TXD
b5="5"
b4="4"
b3="3"
b2="2"
b1="1"
b0="0"
main:
w0=time
serout TXD,N2400_8,($AA,$AA,$AA,$AA,$AA,"ABC",b5,b4,b3,b2,b1,b0)
pause 1000
goto main
I know the 'axe isn't running because nothing is displayed on the terminal screen, nothing is received by the RX, and my PC speaker stops buzzing every second when data is supposed to be transmitting.
Confused!
((PS the forum doesn't like percentage sign111100)) - now fixed - turn off auto parse
Texy
Last edited: