add code sample to readme
Cleaner flash support