diff options
| author | Gustav Sörnäs <gusso230@student.liu.se> | 2019-11-14 09:59:31 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gusso230@student.liu.se> | 2019-11-14 10:05:49 +0100 |
| commit | 14b2064d325f8065dad48421c16db9b4ac678cfe (patch) | |
| tree | a336ca6548355d9cd4bc3448fae2eeccb25057be /Kod/bilbana/yc4/display/get_num.m | |
| parent | 74f1d443644c8654d9fbc3bf48f5d3b87e48c199 (diff) | |
| parent | 50ed829577446a0ae66395a1c20f47e79282d4cd (diff) | |
| download | tfyy51-14b2064d325f8065dad48421c16db9b4ac678cfe.tar.gz | |
Merge branch 'display-io' into car-function
Diffstat (limited to 'Kod/bilbana/yc4/display/get_num.m')
| -rw-r--r-- | Kod/bilbana/yc4/display/get_num.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Kod/bilbana/yc4/display/get_num.m b/Kod/bilbana/yc4/display/get_num.m new file mode 100644 index 0000000..8ff62f7 --- /dev/null +++ b/Kod/bilbana/yc4/display/get_num.m @@ -0,0 +1,3 @@ +function num = get_num(bytes) +num = bytes(1) + bytes(2) * 256; +end |
