Sunday, October 21, 2018

Skype problem with Camera in Linux

Suppose your webcam is in /dev/video0.


1. sudo apt-get install v4l2loopback-dkms

2. sudo modprobe v4l2loopback

3. Finally, when you need your webcam on Skype, just run this command:

    ffmpeg -i /dev/video0 -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video1

Sunday, July 29, 2018

Professional Practice Exam

This page is the link to a variety of previous exam questions and answers for Professional Practice and Ethics, and  Engineering Law and Professional Liability

https://exps.org/content/peo/exam-questionsanswers/

Friday, September 1, 2017

STM32 Generic Qbs Project

We want to compile and link an STM32 application (which uses Standard Peripheral Driver Library) in 1 click with minimal configuration time (Thanks to Nik!).

- Install the STM link Driver from here:
http://www.st.com/en/development-tools/st-link-v2.html
- Install ARM GCC compiler from here:
https://launchpad.net/gcc-arm-embedded/5.0/5-2016-q3-update
- Install QT Creator from here:
http://download.qt.io/official_releases/qtcreator/4.3/4.3.1/qt-creator-opensource-windows-x86_64-4.3.1.exe
- In Qt go to Help>>About Plugins and enable "BareMetal" Plugin.
- In Qt go to Tools>>Options open Build & Run. Go to Compilers tab and add "arm-none-eabi-gcc.exe" path to compiler path.
- Use my friend's QBS "STM32 Generic Qbs Project"  from here:
https://github.com/RuStrannik/STM32-Qbs-Generic-Project-Example