Description:
Продолжаем работать с библиотекой HAL. Сегодня мы продолжаем работать с акселерометром LSM6DS0, который установлен на плате расширения X-NUCLEO-IKS01A1, предназначенной для работы с отладочной платой Nucleo, с которой мы уже познакомились немного раньше. В данной части занятия мы продолжим писать функцию инициализации датчика, затем напишем функцию считывания данных, и, более того, мы в данной части закончим работу с данным акселерометром. Мы увидим показания и в текстовом виде и визуально с помощью программы NS Port Monitor. Отладочную плату Nucleo STM32F401RE можно приобрести здесь: http://ali.pub/1u80dx и здесь http://ali.pub/1u80gn Оценочную плату X-NUCLEO-IKS01A1 можно приобрести здесь http://ali.pub/1us417 Навигация по видео: 00:00 Введение 01:18 Продолжим писать функцию инициализации 18:26 Проверим инициализацию на настоящем акселерометре 19:05 Напишем функцию считывания данных 23:43 Проверим считанные данные монитором порта 26:22 Исправим функцию отображения считанных данных 27:41 Проверим считывание данных визуально с помощью программы NS Port Monitor Текстовая часть урока, исходный код, документация на акселерометр, на плату расширения, ссылка на программу NS Port Monitor здесь https://narodstream.ru/stm-urok-42-podklyuchaem-akselerometr-lsm6ds0-chast-2/ Рекомендуется также перед просмотром данного урока просмотреть данное видео: УРОК 41. Подключаем акселерометр LIS3DSH. Часть 1 https://www.youtube.com/watch?v=KWXJCJk-JV4 УРОК 41. Подключаем акселерометр LIS3DSH. Часть 2 https://www.youtube.com/watch?v=qrnTbYd6Gy0 УРОК 41. Подключаем акселерометр LIS3DSH. Часть 3 https://www.youtube.com/watch?v=CztrtMEIqNY УРОК 41. Подключаем акселерометр LIS3DSH. Часть 4 https://www.youtube.com/watch?v=_XJmKjqAQH8 УРОК 42. Подключаем акселерометр LSM6DS0. Часть 1 https://www.youtube.com/watch?v=jMKXOjJwOs4 УРОК 38. Знакомство с платой NUCLEO STM32F401RE и оценочными платами https://www.youtube.com/watch?v=L-ta_BhW6CU Группа в контакте http://vk.com/club116656325 Группа в Одноклассниках http://ok.ru/group/52987126153436 Группа в Facebook https://www.facebook.com/unsupportedbrowser Мой сайт "Программирование МК" https://narodstream.ru/ Форум https://narodstream.ru/forum/ Вы можете помочь проекту: ЮMoney https://yoomoney.ru/to/41001176473465 Webmoney Z341906933112 Карта Сбербанка (МИР) 2202201799288929 Можно в USDT 1) Сеть:TRC20 Адрес: TBBPFk5Widf1CYvF7Xk5ssKXeiPJHwtMgS 2) Сеть: BSC BNB Smart Chain (BEP20) (комиссия намного меньше) Адрес: 0x2e38754DF1e54649Bf0D5CD6fD6D8c96a9f22f17 3) Сеть: Huobi ECO Chain (HECO) (комиссия еще меньше) Адрес: 0x2e38754DF1e54649Bf0D5CD6fD6D8c96a9f22f17
Preparing download options
http://unidownloader.com/ website is the best way to download a video or a separate audio track if you want to do without installing programs and extensions.
The UDL Helper extension is a convenient button that is seamlessly integrated into YouTube, Instagram and OK.ru sites for fast content download.
UDL Client program (for Windows) is the most powerful solution that supports more than 900 websites, social networks and video hosting sites, as well as any video quality that is available in the source.
UDL Lite is a really convenient way to access a website from your mobile device. With its help, you can easily download videos directly to your smartphone.
The best quality formats are FullHD (1080p), 2K (1440p), 4K (2160p) and 8K (4320p). The higher the resolution of your screen, the higher the video quality should be. However, there are other factors to consider: download speed, amount of free space, and device performance during playback.
The browser/computer should not freeze completely! If this happens, please report it with a link to the video. Sometimes videos cannot be downloaded directly in a suitable format, so we have added the ability to convert the file to the desired format. In some cases, this process may actively use computer resources.
You can download a video to your smartphone using the website or the PWA application UDL Lite. It is also possible to send a download link via QR code using the UDL Helper extension.
The most convenient way is to use the UDL Client program, which supports converting video to MP3 format. In some cases, MP3 can also be downloaded through the UDL Helper extension.
This feature is available in the UDL Helper extension. Make sure that "Show the video snapshot button" is checked in the settings. A camera icon should appear in the lower right corner of the player to the left of the "Settings" icon. When you click on it, the current frame from the video will be saved to your computer in JPEG format.
It costs nothing. Our services are absolutely free for all users. There are no PRO subscriptions, no restrictions on the number or maximum length of downloaded videos.