Let's Make Robots!

20m2

Can't program picaxe 20m2

Hi,

Two days ago, i downloaded a simple debug ADC program onto my picaxe 20m2 to get adc values from an IR phototransistor. Code: main: readadc b.3, b0 debug goto main The program downloaded successfully and a window opened showing the adc values. Then I closed that debug window and made a few changes to my IR phototransistor circuit.

This is my picaxe 20m2 dev board. It has picaxe itself, a LM7805 voltage regulator and two DIL sockets, one for ULN2803 and the other for L293d (already in place). … Read more

Picaxe M2 series 'multitasking'.

The M2 Picaxe series has multitasking (time slicing) to allow up to 4 tasks to run simultaneously which the manual says is to make monitoring switches and flashing LEDs etc, easier to program.  I was just wondering has anyone explored how far you can take the multiple tasks idea.  Has anyone, for example, tried controlling a servo, monitoring switches and varying PWM on a motor?

I've got a feeling that everything will get a bit glitchy, but perfectly happy to be proved wrong.

Picaxe LCD problem

Hi

A friend of mine is using a picaxe 20m2 to drive a milford instrument 20x4 LCD with a serial backpack. However, when he turns it on, it just comes on with a screen filled with triangles. The LCD is connected to pin 0 .The code he's running is below. What is the problem?

PS: This is my first post, so sorry if it's in the wrong place.

 

code: