Search This Blog
2018-10-31
shell nano connect
#!/bin/sh
#
# usa: usb serial arduino
#
# connects to arduino as explained at:
#
# https://playground.arduino.cc/Interfacing/LinuxTTY
#
usbSerialArduino () {
#
# configure serial port
#
stty -F "$1" cs8 9600 ignbrk \
-brkint -icrnl -imaxbel -opost -onlcr \
-isig -icanon -iexten -echo -echoe -echok \
-echoctl -echoke noflsh -ixon -crtscts ;
#
# conect to serial port
#
busybox microcom -s 9600 "$1" ;
#
} ;
#
usbSerialArduino /dev/ttyUSB${1:-0} ;
#
#
# usa: usb serial arduino
#
# connects to arduino as explained at:
#
# https://playground.arduino.cc/Interfacing/LinuxTTY
#
usbSerialArduino () {
#
# configure serial port
#
stty -F "$1" cs8 9600 ignbrk \
-brkint -icrnl -imaxbel -opost -onlcr \
-isig -icanon -iexten -echo -echoe -echok \
-echoctl -echoke noflsh -ixon -crtscts ;
#
# conect to serial port
#
busybox microcom -s 9600 "$1" ;
#
} ;
#
usbSerialArduino /dev/ttyUSB${1:-0} ;
#
2018-10-30
2018-10-27
2018-10-25
3 knowledge suggestions...
that you should give a try, at least for the sake of knowing them...
1. haskell language
why: https://youtu.be/LR8fQiskYII?t=163
lol: https://www.youtube.com/watch?v=dV_mD3SxViQ
how: http://learnyouahaskell.com/chapters
libraries: https://hackage.haskell.org/packages/
bonus: https://xmonad.org/
https://www.youtube.com/watch?v=LnX3B9oaKzw
2. blender 3D ++
why: very nice interface... :)
how: start with an interface usage tutorial
then modeling: https://www.youtube.com/results?search_query=blender+modeling+tutorial
libraries: programmable in python
bonus: https://www.youtube.com/watch?v=mIiY6aGefvI
https://www.youtube.com/watch?v=biywY5l_2nU
https://en.blender.org/index.php/Extensions:2.6/Py/Scripts/Import-Export/Paper_Model
3. solvespace by constraining it
why: keeps it simple... :)
how: start here... http://solvespace.com/2d.pl
... and ::: genius ... a math little helper...
... all available on debian... :)
1. haskell language
why: https://youtu.be/LR8fQiskYII?t=163
lol: https://www.youtube.com/watch?v=dV_mD3SxViQ
how: http://learnyouahaskell.com/chapters
libraries: https://hackage.haskell.org/packages/
bonus: https://xmonad.org/
https://www.youtube.com/watch?v=LnX3B9oaKzw
2. blender 3D ++
why: very nice interface... :)
how: start with an interface usage tutorial
then modeling: https://www.youtube.com/results?search_query=blender+modeling+tutorial
libraries: programmable in python
bonus: https://www.youtube.com/watch?v=mIiY6aGefvI
https://www.youtube.com/watch?v=biywY5l_2nU
https://en.blender.org/index.php/Extensions:2.6/Py/Scripts/Import-Export/Paper_Model
3. solvespace by constraining it
why: keeps it simple... :)
how: start here... http://solvespace.com/2d.pl
... and ::: genius ... a math little helper...
... all available on debian... :)
2018-10-24
more on fpga's
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/wp/wp-201406-acceleware-opencl-on-fpgas-for-gpu-programmers.pdf
https://wiki.debian.org/FPGA/
https://wiki.debian.org/FPGA/Altera
https://wiki.debian.org/FPGA/Lattice
https://www.youtube.com/user/alteracorp/playlists
http://www.asic-world.com/verilog/first1.html
http://fpgasoftware.intel.com/
https://llvm.org/devmtg/2010-11/Rotem-CToVerilog.pdf
... some simple boards...
https://www.intel.com/content/www/us/en/programmable/b/nios-bemicro-evaluation-kit.html
http://www.latticesemi.com/icestick
https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=253&No=1140
https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=218&No=1021
https://wiki.debian.org/FPGA/
https://wiki.debian.org/FPGA/Altera
https://wiki.debian.org/FPGA/Lattice
https://www.youtube.com/user/alteracorp/playlists
http://www.asic-world.com/verilog/first1.html
http://fpgasoftware.intel.com/
https://llvm.org/devmtg/2010-11/Rotem-CToVerilog.pdf
... some simple boards...
https://www.intel.com/content/www/us/en/programmable/b/nios-bemicro-evaluation-kit.html
http://www.latticesemi.com/icestick
https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=253&No=1140
https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=218&No=1021
keyboard back-light
off :: xset led 3
on :: xset -led 3
2020 update: though on my new keyboard it turns on/off the scroll-lock... o.O?
Subscribe to:
Posts (Atom)