Jo, dann tut er's. Danke aber woran liegt es????

Aber jetzt kommt es:, wenn ich die Routine aus der LIB nehme "Stepper_Drive.bas"
und dann das Programm wie folgt um ändere, geht nichts.
Nicht einmal der Befehl Light=off wird ausgeführt

import "G:\CControl\PCF8574\Stepper_Drive.bas"
import "G:\CControl\PCF8574\get_Zahl.bas"
import "C:\programme\basicpp\lib\Get_Key.bas"

'------ I/O PORTS ---------
define LIGHT port[16]
define SDA port[9]
define SCL port[10]

'---- SYSTEM MEMORY -------

define Schritte as Word
define UdM as Word

#INIT
LIGHT=off
LCD.INIT
LCD.OFF
SDA=on
SCL=on
Pause 2

'----------- EINSCHALT MELDUNG------------------------
LCD.INIT
LCD.Pos 1,1
LCD.PRINT " Schrittmotor"
LCD.pos 2,1
LCD.print " mit PCF8574"
pause 10
LCD.CLR
LCD.OFF

#MAIN
LCD.Init
LCD.pos 1,1
LCD.Print " Anzahl Steps?"
Schritte=GET_Value()
LCD.POS 1,1
LCD.PRINT "Steps = " & Schritte & " "
LCD.POS 2,1
LCD.Print " Geschwindigkeit?"
Pause 10 'neu eingebaut
UdM=Get_Value()
LCD.Pos 2,1
LCD.print "Speed = " & UdM & " "
LCD.OFF
beep 10,50,0
UPSTEP_H(Schritte, UdM)
Pause 10
UPSTEP_H(Schritte, UdM)
Goto main

Da muß es einen gewaltigen Konflickt mit den Ports geben, den ich aber nicht sehe

gruß conger