some codes for respberry pi.