The wiki for the 5x7 LED array here:
http://www.seeedstudio.com/wiki/Xadow_LED_5x7
references source code here:
https://github.com/WayenWeng/Xadow_LED_5x7/
But that source code, when imported into Eclipse (where I have built other rePhone projects) fails to build for multiple reasons for me, including missing header file stm32f0xx.h. There are many constants as well which are referenced in the code, like GPIO_Speed_50MHz which I can't find either.
Has anybody gotten this piece of code to work?
(TECH) 5x7 LED source code won't build
Moderators: lily.li, violet, jessie, chao.zhang
-
- Pre-kindergarten
- Posts: 33
- Joined: Tue Jan 26, 2016 5:17 pm
Re: (TECH) 5x7 LED source code won't build
Hi,
The Github link add the stm32f0_stdperiph_lib.zip.
The Github link add the stm32f0_stdperiph_lib.zip.
Re: (TECH) 5x7 LED source code won't build
I see the additional zip file attached. That module appears to build the hexfile for the 5x7 array firmware; however what I really need is sample code from the RePhone side which shows how to control the 5x7 array. Can you point me towards that code? Thanks
Re: (TECH) 5x7 LED source code won't build
It will never build in the RePhone eclipse.
It's the module's embedded code, and as the readme.txt says in the project:
"1. IDE - Keil uVision5;
2. Library - STM32F0xx_StdPeriph_Lib_V1.5.0"
you will need the keil (http://www2.keil.com/mdk5/uvision/) - even the code size limited is enough,
and the ST lib is (at first sight) http://www.st.com/web/en/catalog/tools/PF257884
It's the module's embedded code, and as the readme.txt says in the project:
"1. IDE - Keil uVision5;
2. Library - STM32F0xx_StdPeriph_Lib_V1.5.0"
you will need the keil (http://www2.keil.com/mdk5/uvision/) - even the code size limited is enough,
and the ST lib is (at first sight) http://www.st.com/web/en/catalog/tools/PF257884
Re: (TECH) 5x7 LED source code won't build
I'm not trying to build the firmware for the 5x7 led array in eclipse in the rephone environment. What I'm trying to do is build a sample application which I can run on a rePhone which controls the 5x7 led array. That's the sample code I'm looking for.
-
- Pre-kindergarten
- Posts: 33
- Joined: Tue Jan 26, 2016 5:17 pm
Re: (TECH) 5x7 LED source code won't build
Hi,
I found the API of 5x7 led, and it is run on Arduino. Maybe you can make a reference.
I found the API of 5x7 led, and it is run on Arduino. Maybe you can make a reference.