Skip to content

Instantly share code, notes, and snippets.

View pablosun's full-sized avatar

Pablo Sun pablosun

View GitHub Profile
@pablosun
pablosun / PNG to Plananr Binary
Created April 13, 2018 08:28
Reads a png file and convert it to planar raw byte file.
#!/usr/bin/env python
'''
Reads a png file and convert it to planar raw byte file.
Requires Python3 and pypng.
Please use
```
#pip install pypng
@pablosun
pablosun / mcs_blink.py
Last active May 18, 2017 14:36
Example Python code that use MediaTek Cloud Sandbox to control on-board Wi-Fi LED of LinkIt Smart 7688