27-09-2011, 23:11
|
|
|
חבר מתאריך: 03.08.06
הודעות: 118
|
|
באיזו שפה כתובה התוכנה?
התוכנה הבאה מריצה שלושה לדים על מיקרו בקר
הייתי מעוניין לדעת באיזו שפת תכנות מדובר.
בתודה, שחר
$regfile = "attiny26.dat"
$crystal = 1000000
$hwstack = 32
$swstack = 8
$framesize = 24
Config PORTA = Output
Config PORTB = Output
RED Alias PORTB.0
YEL Alias PORTB.1
GRN Alias PORTB.2
Begin:
Red = 1 : Yel = 0 : Grn = 0
Waitms 100
Red = 0 : Yel = 1 : Grn = 0
Waitms 100
Red = 0 : Yel = 0 : Grn = 1
Waitms 100
Goto Begin
_____________________________________
שחר.
|