Skip to content

Commit

Permalink
answer corrected m3, h3, 14th march
Browse files Browse the repository at this point in the history
  • Loading branch information
LimSean committed Dec 11, 2018
1 parent cd66366 commit 46c93a1
Show file tree
Hide file tree
Showing 101 changed files with 50 additions and 51,876 deletions.
2 changes: 1 addition & 1 deletion Eternite.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 4,8 @@
<src>timer.luc</src>
<src>buzzer.luc</src>
<src>Eternite_alufunctions.luc</src>
<src>right_wrong.luc</src>
<src top="true">mojo_top.luc</src>
<src>right_wrong.luc</src>
<src>eternite_fsm.luc</src>
<src>blinker.luc</src>
<ucf>user_interface.ucf</ucf>
Expand Down
8 changes: 4 additions & 4 deletions source/eternite_fsm.luc
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 266,13 @@ module eternite_fsm (
buzzer.state = 2;
}
}
diff_lvls.M3: //Her Soliloquy: A=1101(14th) & B=0011(March), answer from easy A = 1011
diff_lvls.M3: //Her Soliloquy: A=1110(14th) & B=0011(March), answer from easy A = 1011
stage = 4b0100;


if(count.q[25] == 1 & enter_btn == 1){
count.d = 0;
if(a.q == 16bXXXXxxxx11011011 && b.q == 16bXXXXxxxx0011XXXX ){
if(a.q == 16bXXXXxxxx11101011 && b.q == 16bXXXXxxxx0011XXXX ){
answer.state = 1;
buzzer.state = 1;
diff_lvls.d = diff_lvls.M4;
Expand Down Expand Up @@ -338,12 338,12 @@ module eternite_fsm (
buzzer.state = 2;
}
}
diff_lvls.H3: //Project Completion: A=1100 0101 B:00010001 (12/5/17), ans from medium A=1101(14th) & B=0011(March), answer from easy A = 1011
diff_lvls.H3: //Project Completion: A=1100 0101 B:00010001 (12/5/17), ans from medium A=1110(14th) & B=0011(March), answer from easy A = 1011
stage = 4b0100;

if(count.q[25] == 1 & enter_btn == 1){
count.d = 0;
if( (a.q == 16b1100010111011011) && (b.q == 16b000100010011XXXX) ){ //if not working, try change && -> &
if( (a.q == 16b1100010111101011) && (b.q == 16b000100010011XXXX) ){ //if not working, try change && -> &
answer.state = 1;
buzzer.state = 1;
diff_lvls.d = diff_lvls.H4;
Expand Down
Loading

0 comments on commit 46c93a1

Please sign in to comment.