USART1 full functionality (if possible);USB (partial) initialization;All other timers with their channels from TIM2 to TIM11. As third party add-on: FAT32 SD card (limited) functionality - at least, it will work for a data logger. Right now, still on research phase and also looking for usage examples from Internet. And only then I can declare … Continue reading What I am working on when time permits…
A quick update
Just installed a fresh linux distro (doesn't really matter which as long as is a rolling distro) on a new laptop so I had to reinstall the entire toolchain. I installed the Lazarus 2.0.10 and FreePascal 3.2 and then recompiled the project using the LLC based on Qt5 widgets. It works if you install Qt5pas … Continue reading A quick update
VPC version 3.5.3 bugfix
In Clock Setup window, setting the PLL multiplier at 48 had no effect. Fixed.See it in repository here https://gitlab.com/funlw65/vscode_nucleo_l152re/commit/7e0d05cda68fd492ce0d1cf69a1bb834f7a0d0e4
Use Lazarus from v2 version up
Recently discovered that if you compile the VPC with a version of Lazarus smaller than 2.0 then some labels and contents of the comboboxes will become invisible. I uploaded in repository a suitable version of Lazarus but only for Fedora Linux - my temporary development Linux station. As a side note, when Adwaita theme and … Continue reading Use Lazarus from v2 version up
SLR Film Camera – Stage One
A couple of years back, I decided to make my own film camera that had to be an open project in order to secure the film consumption. I chose an STM32 microcontroller but ended up developing my own Visual Pin Configurator for it. This took around two years detour - still in constant development but … Continue reading SLR Film Camera – Stage One
ST7735R mini library update 2
I added garmin digits from LonelyWolf from github.com then I needed some icons as a graphical menu so I added XBM 64x64, 48x48, 32x32 and 16x16 bitmap functions - it is quite easy once you understand that in every octet there are reversed order pixels. These are also present in a console utility that allows … Continue reading ST7735R mini library update 2
ST7735R mini library – saving writing/erasing cycles
When you design your graphics for your TFT display, you will need a lot of modifications during the process. That would mean that at every change you would have had the microcontroller programmed again, burning the writing/erasing cycles at an alarming speed. Considering this, some companies are offering you PC applications that helps you visually … Continue reading ST7735R mini library – saving writing/erasing cycles
ST7735R mini library demonstration
Unlike before, I will present this project/demonstration as a tutorial, to familiarize some random wanderer with the way you create projects in VPC. It is supposed that you watched the movie that helps you set the environment (is posted at the end of the "What is VPC" page), and also you have installed the other … Continue reading ST7735R mini library demonstration
VPC version 3.5.2 update and bugfix
Well, because I am apparently the sole user of this application, the bugs are revealed only when I use it in real-life applications. Another SPI bug: When VPC generate code for SPI, the indexfor the combo-box that sets the speed of the SPI GPIO pins was off with one value. If you had set the … Continue reading VPC version 3.5.2 update and bugfix
ST7735R mini library
Part of the configuration for this library is made in VPC so is not a stand-alone library, It initializes and drives an Adafruit 160x80 0.96" TFT display that I bought for the SLR film camera project. Using the library Before including the header in the main.c source, you have to define which SPI you are … Continue reading ST7735R mini library