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

TypeNameDefaultDescription
Strings
Integern

Outputs

TypeNameDefaultDescription
Integer[n]codes