Diferență între revizuiri ale paginii „PC Lab 2”
De la WikiLabs
Jump to navigationJump to searchCbira (discuție | contribuții) |
Cbira (discuție | contribuții) |
||
(Nu s-au afișat 6 versiuni intermediare efectuate de același utilizator) | |||
Linia 9: | Linia 9: | ||
Points (out of 10) vs. expected performance: | Points (out of 10) vs. expected performance: | ||
− | 5 for up to | + | 5 for up to 170 words of program memory, 25 words of RAM. |
− | 6 for up to | + | 6 for up to 150 words of program memory, 20 words of RAM. |
− | 7 for up to | + | 7 for up to 130 words of program memory, 15 words of RAM. |
− | 8 for up to | + | 8 for up to 110 words of program memory, 10 words of RAM. |
− | 9 for up to | + | 9 for up to 90 words of program memory, 5 words of RAM. |
− | 10 for up to | + | 10 for up to 70 words of program memory, 3 words of RAM. |
NB: Sourcecode may be of any size | NB: Sourcecode may be of any size | ||
+ | |||
+ | '''Reference implementation:''' | ||
+ | |||
+ | 39 program words for 15-9 us ON cycle [[Media:ML-L3_15_9.txt]] | ||
+ | |||
+ | 36 program words for 12-12 us ON cycle [[Media:ML-L3_12_12.txt]] |
Versiunea curentă din 22 martie 2018 13:33
Session 2
Codesize optimization:
Implement a Nikon ML-L3 remote control using a PIC10F200 (pattern is shown in the picture below)
Points (out of 10) vs. expected performance:
5 for up to 170 words of program memory, 25 words of RAM.
6 for up to 150 words of program memory, 20 words of RAM.
7 for up to 130 words of program memory, 15 words of RAM.
8 for up to 110 words of program memory, 10 words of RAM.
9 for up to 90 words of program memory, 5 words of RAM.
10 for up to 70 words of program memory, 3 words of RAM.
NB: Sourcecode may be of any size
Reference implementation:
39 program words for 15-9 us ON cycle Media:ML-L3_15_9.txt
36 program words for 12-12 us ON cycle Media:ML-L3_12_12.txt