** Step 1 **
Install ffmpeg with the vidstab plugin.
- OSX: Install via Homebrew -
brew install ffmpeg --with-libvidstab - Linux: download binaries here (vidstab included)
- Windows: download binaries here (vidstab included)
| /*# 1- Identify the UART interface, GPIO pins and Alternate Function #########*/ | |
| /* For example: | |
| * B-L475E-IOT01A: | |
| * PB6 ------> USART1_TX | |
| * PB7 ------> USART1_RX | |
| * | |
| * NUCLEO-L476RG: | |
| * PA2 ------> USART2_TX | |
| * PA3 ------> USART2_RX | |
| * |
| /* | |
| * This is free and unencumbered software released into the public domain. | |
| * | |
| * For more information, please refer to <https://unlicense.org> | |
| */ | |
| //Regular text | |
| #define BLK "\e[0;30m" | |
| #define RED "\e[0;31m" | |
| #define GRN "\e[0;32m" |
** Step 1 **
Install ffmpeg with the vidstab plugin.
brew install ffmpeg --with-libvidstab| class Drink: Codable { | |
| var name: String | |
| var color: String? | |
| private enum CodingKeys: String, CodingKey { | |
| case name, color | |
| } | |
| required init(from decoder: Decoder) throws { | |
| let values = try decoder.container(keyedBy: CodingKeys.self) |