functionStringToCharCodes
Converts the first n characters of s into ASCII codes (0-255), padded with spaces (32) if s is shorter - shared helper (independent of PyRuntime) for the character-by-character display on Peripherals.Display, see requirements.md decision Périphérique d'affichage pédagogique
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | s | ||
| Integer | n |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer[n] | codes |