PicAxe_Program behaves differently after pull the USB-plug :-(
I have the PicAxe Starterset AXE002X with 18X with following circuit:
Input Pin 1 , 2 , 6 , 7 on Buttons
Output Pin 1 , 2 ,3 , 4 , 5 , 6 on color LEDs
My iBook is connected about a USB-Serial-Adapter to the PicAxe 18X.
I'll send my Programm with the Mac OSX PowerPC compilers (command line)
and my programm works flawlessly
Push Button on Pin1 = red LED lights on Output 5
Push Button on Pin2 = blue LED lights on Output 2
Push Button on Pin6 = white LED lights on Output 1
Push Button on Pin6 = other white LED lights on Output 6
Orange LED on Output 4 flashes independently and fast
Green LED on Output 3 flashes independently and slow
But:
when i quit the connection to the computer or pull the USB-plug
the Program works faulty :-(
precise :
red LED on Output 5 lights and flickers totally uncontrolled nevertheless have
unpressed Button on Pin1.
what is the cause ?
I have the PicAxe Starterset AXE002X with 18X with following circuit:
Input Pin 1 , 2 , 6 , 7 on Buttons
Output Pin 1 , 2 ,3 , 4 , 5 , 6 on color LEDs
My iBook is connected about a USB-Serial-Adapter to the PicAxe 18X.
I'll send my Programm with the Mac OSX PowerPC compilers (command line)
and my programm works flawlessly
Push Button on Pin1 = red LED lights on Output 5
Push Button on Pin2 = blue LED lights on Output 2
Push Button on Pin6 = white LED lights on Output 1
Push Button on Pin6 = other white LED lights on Output 6
Orange LED on Output 4 flashes independently and fast
Green LED on Output 3 flashes independently and slow
But:
when i quit the connection to the computer or pull the USB-plug
the Program works faulty :-(
precise :
red LED on Output 5 lights and flickers totally uncontrolled nevertheless have
unpressed Button on Pin1.
what is the cause ?