Skip to content

Instantly share code, notes, and snippets.

@mh1412 mh1412/autorun.sh
Created Nov 6, 2018

Embed
What would you like to do?
Omega2 USB autorun script
#!/bin/sh
echo "_ _ _ _ _ " > /dev/ttyS0
echo "| | | | ___| | | ___ | | " > /dev/ttyS0
echo "| |_| |/ _ \ | |/ _ \| | " > /dev/ttyS0
echo "| _ | __/ | | (_) |_| " > /dev/ttyS0
echo "|_| |_|\___|_|_|\___/(_)_ _ _ _ " > /dev/ttyS0
echo "| | | / ___|| __ ) / \ _ _| |_ ___ _ __ _ _ _ __ | | |" > /dev/ttyS0
echo "| | | \___ \| _ \ / _ \| | | | __/ _ \| '__| | | | '_ \| | |" > /dev/ttyS0
echo "| |_| |___) | |_) | / ___ \ |_| | || (_) | | | |_| | | | |_|_|" > /dev/ttyS0
echo "\___/|____/|____/ /_/ \_\__,_|\__\___/|_| \__,_|_| |_(_|_)" > /dev/ttyS0
echo "" > /dev/ttyS0
oled-exp -i write "`date`\n\nHello!\nUSB Autorun!!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.