fix code to match last commit comment

in the previous commit, I said the badge type was sent in ascii and
that the badge type change attention sequence was 0x01. I forgot to
make the changes to the code to match.
add tools to program badges in batches
missed in previous commit of this file