silice-learning/test.si

11 lines
193 B
Plaintext
Raw Normal View History

2023-06-24 15:01:18 +02:00
unit main(output uint8 leds) {
algorithm {
uint8 table[8] = {0,1,2,3,4,5,6,7};
uint8 n = 0;
while (n != 8) {
__display("[%d] = %d",n,table[n]);
n = n + 1;
}
}
}