Your code does not seem to mention its license anywhere. This makes it impossible to use in most projects. For commercial embedded a BSD-style license seems to be better. For using it in GPL software GPL would work better.
IANAL but without a license and a copyright notice depending on the country the viewer is in it might be even up for grabs for them to put on their own copyright and license.