Gast
#3106853
Hallo, ich komme gerade beim programmieren mit BASCOM nicht weiter... habe vor mir einen Würfel zu Programmieren & dazu wollte ich jetzt zwei Port Ausgänge zusammen fassen mit dem Alias Befehl, leider schlägt das fehl. hat jemand eine bessere Idee ? 'Zahl 1 = Portb.4 'Zahl 2 = Portb.3 'Zahl 3 = Portb.4 / Portb.3 'Zahl 4 = Portb.2 / Portb.3 'Zahl 5 = Portb.4 / Portb.2 / Portb.3 'Zahl 6 = Portb.1 / Portb.2 / Portb.3 ' ' ''''''''''''''''''''''''''''''''''' $regfile = "attiny13.dat" $crystal = 80000000 Config Portb = Output ' konfiguriert Portb als Ausgang Dim Sensor As Bit ' dimensioniert Sensor als Wort Dim Zufallswert As Bit ' dimensioniert Zufallswert als Wort Dim 1 As Bit ' Zahl 1 Dim 2 As Bit ' Zahl 2 Dim 3 As Bit ' Zahl 3 Dim 4 As Bit ' Zahl 4 Dim 5 As Bit ' Zahl 5 Dim 6 As Bit ' Zahl 6 Do Loop End