2018-07-12 03:36 PM
Hi,
I'm STM32 starter but like working on it until now !
I got this STM32L0 board and like to add screen on the project so just bouth a 1,5'' eink
https://www.waveshare.com/wiki/File:1.54inch_e-Paper_Module_code.7z
it comes with a code example project and says '''easy to port to different MCU since it's based on HAL.'''
what would be the best way to 'import' such example project to an existing code base that works on my L0 ?
*and preferably import just the raw basic so my original code still works.
I guess I should do an empty project using CubeMX based on my MCU,,, then try to import the eink code.
in order to make it work standalone and only then port it to my current project.
but maybe someone has better ideas.. Thanks
#eink ##stm32l02018-07-12 03:53 PM
'
what would be the best way to 'import' such example project to an existing code base that works on my L0 ?'
easy:
1) understand what the code does;
2) implement it on the target.