Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Homepage
output
esc 0 0 f1 2 3 f2 1 3 f3 1 1 f4 1 0 f5 10 0 f6 6 0 f7 7 1 f8 7 3 f9 10 3 f10 10 5 f11 11 5 f12 13 5 home 11 3 end 14 5 ins 15 5 del 15 3 ~ 0 3 1 0 5 2 2 5 3 1 5 4 4 5 5 4 3 6 5 3 7 5 5 8 6 5 9 7 5 0 8 5 - 8 3 = 6 3 bs 10 1 tab 0 1 q 0 2 w 2 2 e 1 2 r 4 2 t 4 1 y 5 1 u 5 2 i 6 2 o 7 2 p 8 2 [ 8 1 ] 6 1 \ 10 4 caps 2 1 a 0 4 s 2 4 d 1 4 f 4 4 g 4 0 h 5 0 j 5 4 k 6 4 l 7 4 ; 8 4 ' 8 0 enter 10 6 shift 9 1 z 0 6 x 2 6 c 1 6 v 4 6 b 4 7 n 5 7 m 5 6 , 6 6 . 7 6 / 8 7 rshift 9 6 fn 14 4 ctrl 3 3 win 13 1 alt 12 0 sp 10 7 ralt 12 7 prtsc 15 4 rctrl 3 6 pgup 15 6 up 14 0 pgdn 15 7 left 14 7 down 11 7 right 13 7
output data to key matrix
#!/usr/bin/awk -f { key = $1; col = $2; row = $3; matrix[row, col] = key; } END { printf("| "); for (col = 0; col < 16; col++) { printf("|S%d", col); } printf("|\n"); for (row = 0; row < 8; row++) { printf("|R%d", row); for (col = 0; col < 16; col++) { printf("| %s ", matrix[row, col]); } printf("|\n"); } }
output data to key matrix in HTML table
#!/usr/bin/awk -f { key = $1; col = $2; row = $3; matrix[row, col] = key; } END { printf("<table><tr><th></th>"); for (col = 0; col < 16; col++) { printf("<th>S%d</th>", col); } printf("</tr>\n"); for (row = 0; row < 8; row++) { printf("<tr><th>R%d</th>", row); for (col = 0; col < 16; col++) { printf("<td>%s</td>", matrix[row, col]); } printf("</tr>\n"); } printf("</table>\n"); }
key matrix¶
S0 | S1 | S2 | S3 | S4 | S5 | S6 | S7 | S8 | S9 | S10 | S11 | S12 | S13 | S14 | S15 | |
R0 | esc | f4 | g | h | f6 | ' | f5 | alt | up | |||||||
R1 | tab | f3 | caps | t | y | ] | f7 | [ | shift | bs | win | |||||
R2 | q | e | w | r | u | i | o | p | ||||||||
R3 | ~ | f2 | f1 | ctrl | 5 | 6 | = | f8 | - | f9 | home | del | ||||
R4 | a | d | s | f | j | k | l | ; | \ | fn | prtsc | |||||
R5 | 1 | 3 | 2 | 4 | 7 | 8 | 9 | 0 | f10 | f11 | f12 | end | ins | |||
R6 | z | c | x | rctrl | v | m | , | . | rshift | enter | pgup | |||||
R7 | b | n | / | sp | down | ralt | right | left | pgdn |