У нас вы можете посмотреть бесплатно Qt & Arduino - Making an RGB LED Controller - Part 3: QSerialPort или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
I've been exploring QSerialPort in Qt and thought it would be fun to use it with Arduino. So I use QSerialPort in conjunction with an Arduino Uno to control an RGB LED from a gui. This video goes over setting up a QSerialPort to communicate with the arduino. Finding the port the arduino is connected to, opening the port, configuring the port, writing over the port to the Arduino. At the end of the video I mentioned that you get a bool back from some of the configuration functions. I might've made it sound confusing but really you should just be aware that the information is there and you should make use of it for proper error handling when opening the port. There are other functions available to help with this. Code is available on github: https://github.com/vannevar-morgan/Qt... Consider subscribing for future videos.