File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -778,7 +778,7 @@ void switchAlarm(char dir){
778778 }
779779}
780780
781- void getHz (byte note){
781+ word getHz (byte note){
782782 // Given a piano key note, return frequency
783783 // TODO (note-basenote)/12 resolves to a float...
784784 return 440 *(2 ^((note-49 )/12 ));
@@ -968,7 +968,7 @@ void cycleDisplay(){
968968 if (setStartLast>0 ) setStartLast=0 ;
969969 }
970970
971- if (displayDim !== 0 ) { // if other display code says to shut off entirely, skip this part
971+ if (displayDim> 0 ) { // if other display code says to shut off entirely, skip this part
972972 // Anode channel 0: tubes #2 (min x10) and #5 (sec x1)
973973 setCathodes (displayLast[2 ],displayLast[5 ]); // Via d2b decoder chip, set cathodes to old digits
974974 digitalWrite (anodes[0 ], HIGH); // Turn on tubes
You can’t perform that action at this time.
0 commit comments