-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec6667e
commit baaa001
Showing
9 changed files
with
138 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
/target | ||
dm42 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Allows using various constants | ||
// Flag 3 - Exit to custom menu | ||
|
||
export def const { | ||
CLMENU | ||
"c", KEY 1 GTO light_speed | ||
"h", KEY 2 GTO planck_constant | ||
"e", KEY 3 GTO elementary_charge | ||
"N↓A", KEY 4 GTO avogadro_constant | ||
// KEY 8 GTO page_2 | ||
if { FS? 03 } { | ||
KEY 9 GTO custom_menu | ||
} | ||
MENU | ||
STOP | ||
} | ||
|
||
def custom_menu { | ||
SF 27 | ||
} | ||
|
||
// == CONSTANTS == | ||
|
||
def light_speed { 299792458 } | ||
def planck_constant { 6.62607015e-34 } | ||
def elementary_charge { 1.602176634e-19 } | ||
def avogadro_constant { 6.02214076e23 } |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,35 @@ | ||
LBL "sort" | ||
MAT? | ||
GTO 00 | ||
GTO 01 | ||
LBL "const" | ||
CLMENU | ||
"c" | ||
KEY 1 GTO 01 | ||
"h" | ||
KEY 2 GTO 02 | ||
"e" | ||
KEY 3 GTO 03 | ||
"N↓A" | ||
KEY 4 GTO 04 | ||
FS? 03 | ||
GTO 06 | ||
LBL 05 | ||
MENU | ||
STOP | ||
RTN | ||
LBL 00 | ||
STO "A" | ||
INDEX "A" | ||
1 | ||
1 | ||
STOIJ | ||
DROPN 2 | ||
GTO 03 | ||
SF 27 | ||
RTN | ||
LBL 01 | ||
299792458 | ||
RTN | ||
LBL 02 | ||
DROPN 2 | ||
[MIN] | ||
DROP | ||
RCLIJ | ||
DROP | ||
R<>R | ||
DROPN 2 | ||
I+ | ||
6.62607015e-34 | ||
RTN | ||
LBL 03 | ||
FC? 76 | ||
GTO 02 | ||
DROPN 2 | ||
RCL "A" | ||
1.602176634e-19 | ||
RTN | ||
LBL 01 | ||
DROPN 2 | ||
"X is not a matrix" | ||
AVIEW | ||
STOP | ||
GTO 00 | ||
LBL 04 | ||
6.02214076e23 | ||
RTN | ||
LBL 06 | ||
KEY 9 GTO 00 | ||
GTO 05 | ||
RTN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters