Hi,
I have a picaxe and an XBee both running off a regulated 3.3 v and I need to interface a PIR module to the picaxe.
Unfortunatly the PIR module requires 4.5 volts or more to operate, so I have a regulated 5v feeding the PIR. The question is, will i damage the picaxe if i connect the PIR...
attempting to simulate the following snippet of code
#picaxe 28X1
peek 52,b6
results in the simulator saying "peek at this address is not recommended and will not correctly simulate", which is correct as valid peek commands should start from 192.
However, pressing OK on the modal window...
Is it wise to run code right after a disablebod command, as opposed to just the sleep command as illustrated in the picaxe manual ?
The reason i am asking is because due to the way my code is structured an interrupt may occur in the following code
disablebod
sleep 10
enablebod
and since I...
Technical,
Would it be possible to modify the shiftout and shiftin commands to work on portc in the X1 and portA/B/C in the X2 variants in future revisions of the firmware? It is a pity that the commands are currently limited to the output/inputs pins.
Perhaps someone can shed some light on this ...
The following shift code does not work as intended when run in the simulator, as b0 returns 128 instead of 127.
#picaxe 40X1
setfreq 16em
let b0 = 255
b0 = b0 >> 1 'This returns 128
'Sanity check
let b0 = 255
b0 = b0 / 2 'This returns 127 as...
Hi,
I recently bought a USB to TTL serial UART FTDI interface board so that i could connect my picaxe project and power it via USB. The FTDI driver provided turns the board into a virtual com port.(very similar in functionality to the USB adapter that Rev-Ed offer.) However the programming...