It will take some time, but consider that I started working on this. But I will take short breaks to finish other projects...
Stories
MAX44009 LUX sensor with hardware I2C
Update: tested also with the software implementation of I2C... no problems. Initial configuration generated with VPC for VSCode IDE and using SPL driver. Tested and works great! Code committed in repository.Here, the Serial Monitor panel shows the intensity light of the flash LED from my wife's phone:
Fixes and additions
- SPI is fixed to avoid entering in multimaster mode when NSS is managed by software;- All 5V tolerant pin labels are marked with "+" sign, but check the datasheet twice, as I am not to be held responsible of any damage (read the MIT license again if in doubt 😛 );- In LQFP64 window, … Continue reading Fixes and additions
Adafruit 0.96″ 160×80 Color TFT Display
My first graphical TFT display just arrived and I tested it with the Adafruit Arduino libraries on the Nucleo board. After playing with their demos, I wrote a display mockup for my planned Film SLR camera that will use Canon EOS fullframe lenses. /************************************************************************** This is a library for several Adafruit displays based on ST77* … Continue reading Adafruit 0.96″ 160×80 Color TFT Display
The pads are sensitive
The pads of LQFP64 package will show the actual status by changing their own colors. Is not much right now, but combined with all the program has to offer, is infinitely better than what CubeMX for STM8 microcontrollers offers. The following image shows the pin setup of the l152_single_ds18b20 project, where 6 pins are set … Continue reading The pads are sensitive
What I am working these days…
When you prototype with the Nucleo board, it is nice to have the morpho connector configuration window, but not quite useful when you design your own board using the STM32L152RE microcontroller. So I had to add the LQFP64 "capsule" configuration window...Which it has its own dedicated button in the main window.But it will take awhile … Continue reading What I am working these days…
Oops!
Oops again! When creating or opening a project, re-editing the project settings, the "floating point" and "printf enabling floating point" checkboxes have no effect - forgot to process them. Now solved and committed.
Project promoted to version 1.0 Beta
"Open Project" and "Save As..." options are working fine but be aware that there is no user code preservation if the project is loaded again and code is regenerated. For your code to be preserved, you have to open the project and save it under a new name. Then copy all the code you added … Continue reading Project promoted to version 1.0 Beta
Oops, forced landing…
Program crashing when there is a nil value for an element in XML file. Didn't knew that... Back to drawing board. Reading FreePascal XML Tutorial again...A work around is easy (now that we know the problem) but lets do it right if possible. As of now, the XML files are created in a raw way, … Continue reading Oops, forced landing…
Be aware
There are two errors in the xml file (the saved project), I fixed them, but can't commit because I'm working at the save open procedure and right now the code is a mess. It won't affect you anyway, because you can't use the saved project until a way to load it exist.