Chaque nouveau caractère est rafraîchi en moins de 0,5 seconde.
Et sachant que ça veut dire successivement :
- éteindre 7 diodes
- allumer de 2 à 7 diodes
[[1,1,1,1,1,1,0,0][0,1,1,0,0,0,0,0][1,1,0,1,1,0,1,0][1,1,1,1,0,0,1,0][0,1,1,0,0,1,1,0][1,0,1,1,0,1,1,0][1,0,1,1,1,1,1,0][1,1,1,0,0,0,0,0][1,1,1,1,1,1,1,0][1,1,1,1,0,1,1,0][1,1,1,0,1,1,1,0][0,0,1,1,1,1,1,0][1,0,0,1,1,1,0,0][0,1,1,1,1,0,1,0][1,0,0,1,1,1,1,0][1,0,0,0,1,1,1,0][1,0,1,1,1,1,0,0][0,1,1,0,1,1,1,0][0,0,1,0,0,0,0,0][0,1,1,1,1,0,0,0][0,0,0,0,0,0,0,1][0,0,0,1,1,1,0,0][0,0,0,0,0,0,0,1][0,0,1,0,1,0,1,0][0,0,1,1,1,0,1,0][1,1,0,0,1,1,1,0][0,0,0,0,0,0,0,1][0,0,0,0,1,0,1,0][1,0,1,1,0,1,1,0][0,0,0,1,1,1,1,0][0,1,1,1,1,1,0,0][0,0,0,0,0,0,0,1][0,0,0,0,0,0,0,1][0,0,0,0,0,0,0,1][0,0,0,0,0,0,0,1][0,0,0,0,0,0,0,1]]→[A]
dim([A]
Rep(1→M
dim([A]
Rep(2→C
EffÉcran
Disp " -
Disp "! !
Disp " -
Disp "! !
Disp " - .
Disp "BB:
For(N,1,10
Output(6,3+2N,N
End
Output(8,1,"Orient display as on theleft, then select port to match display on the right
1→N
0→L
0→K
0→dim(L₁
C→dim(L₁
0→L
1→V
While N≤C et K≠22 et K≠45 et K≠23
For(I,1,5
Output(I,23,"
End
If N=1
Then
Output(1,24,"-
Else
If N=2
Then
Output(2,25,"!
Else
If N=3
Then
Output(4,25,"!
Else
If N=4
Then
Output(5,24,"-
Else
If N=5
Then
Output(4,23,"!
Else
If N=6
Then
Output(2,23,"!
Else
If N=7
Then
Output(3,24,"-
Else
Output(5,26,".
End
End
End
End
End
End
End
Output(7,1,"
Output(7,3+2V,"^
If L≠V
Then
V→L
If L₁(N
Send("DISCONNECT DIGITAL.OUT "+eval(N
V→L₁(N
Send("CONNECT DIGITAL.OUT "+eval(N)+"TO BB"+eval(V
Send("SET DIGITAL.OUT "+eval(N)+" ON
End
0→K
While non(Rep
getKey→K
End
V→L
V+(K=26 et V<10)-(K=24 et V>1→V
If K=105 ou K=22 ou K=23 ou K=45
Then
Send("DISCONNECT DIGITAL.OUT "+eval(N
If K=105
Then
N+1→N
1→V
0→L
End
End
End
If K≠22 et K≠23 et K≠45
Then
For(N,1,C
Send("CONNECT DIGITAL.OUT "+eval(N)+" TO BB"+eval(L₁(N
End
EffÉcran
"0123456789AbCdEFGHiJKLMnoPQrStUVWXYZ→Chn1
0→A
While A<M et non(getKey
For(N,1,C
Send("SET DIGITAL.OUT "+eval(N)+" OFF
End
Output(1,1,sousch(Chn1,A+1,1
For(N,1,C
If [A](1+A,N
Send("SET DIGITAL.OUT "+eval(N)+" ON
End
Wait 1
A+1→A
End
For(N,1,C
Send("DISCONNECT DIGITAL.OUT "+eval(N
End
End
[[1,0,1,1,0,1,1,1,1,1,1,0,1,0,1,1,1,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0][1,1,1,1,1,0,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0][1,1,0,1,1,1,1,1,1,1,1,1,0,1,0,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,0][1,0,1,1,0,1,1,0,1,1,0,1,1,1,1,0,1,0,0,1,0,1,0,0,1,0,0,0,1,1,1,0,0,0,0,0][1,0,1,0,0,0,1,0,1,0,1,1,1,1,1,1,1,1,0,1,0,1,0,1,1,1,0,1,0,1,1,0,0,0,0,0][1,0,0,0,1,1,1,0,1,1,1,1,1,0,1,1,1,1,0,0,0,1,0,0,0,1,0,0,1,1,1,0,0,0,0,0][0,0,1,1,1,1,1,0,1,1,1,1,0,1,1,1,0,1,0,0,0,0,0,1,1,1,0,1,1,1,0,0,0,0,0,0][0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,1,0,0,0,0,1,1,1,1,1]]→[A]
dim([A]
Rep(2→M
dim([A]
Rep(1→C
EffÉcran
Disp " -
Disp "! !
Disp " -
Disp "! !
Disp " - .
Disp "BB:
For(N,1,10
Output(6,3+2N,N
End
Output(8,1,"Orient display as on theleft, then select port to match display on the right
1→N
0→L
0→K
0→dim(L₁
C→dim(L₁
0→L
1→V
While N≤C et K≠22 et K≠45 et K≠23
For(I,1,5
Output(I,23,"
End
If N=1
Then
Output(1,24,"-
Else
If N=2
Then
Output(2,25,"!
Else
If N=3
Then
Output(4,25,"!
Else
If N=4
Then
Output(5,24,"-
Else
If N=5
Then
Output(4,23,"!
Else
If N=6
Then
Output(2,23,"!
Else
If N=7
Then
Output(3,24,"-
Else
Output(5,26,".
End
End
End
End
End
End
End
Output(7,1,"
Output(7,3+2V,"^
If L≠V
Then
V→L
If L₁(N
Send("DISCONNECT DIGITAL.OUT "+eval(N
V→L₁(N
Send("CONNECT DIGITAL.OUT "+eval(N)+"TO BB"+eval(V
Send("SET DIGITAL.OUT "+eval(N)+" ON
End
0→K
While non(Rep
getKey→K
End
V→L
V+(K=26 et V<10)-(K=24 et V>1→V
If K=105 ou K=22 ou K=23 ou K=45
Then
Send("DISCONNECT DIGITAL.OUT "+eval(N
If K=105
Then
N+1→N
1→V
0→L
End
End
End
If K≠22 et K≠23 et K≠45
Then
For(N,1,C
Send("CONNECT DIGITAL.OUT "+eval(N)+" TO BB"+eval(L₁(N
End
EffÉcran
"0123456789AbCdEFGHiJKLMnoPQrStUVWXYZ→Chn1
0→dim(L₁
C→dim(L₁
0→A
While A<M et non(getKey
Output(1,1,sousch(Chn1,A+1,1
L₁
Matrliste([A],A+1,L₁
L₁-Rep→L₂
For(N,1,C
If 0<L₂(N
Then
Send("SET DIGITAL.OUT "+eval(N)+" ON
Else
If 0>L₂(N
Send("SET DIGITAL.OUT "+eval(N)+" OFF
End
End
Wait 1
A+1→A
End
For(N,1,C
Send("DISCONNECT DIGITAL.OUT "+eval(N
End
End
Return to Langages alternatifs
Users browsing this forum: ClaudeBot [spider] and 2 guests