Jump to content

Problem with three 40x2 oled display


dinama

Recommended Posts

I try to connect three 40x2 display to MBHP_CORE_STM32F4 board in a MIDIbox NG controller.

The first two display are connected to  J15A and J15B.

For third display i tried to recompile the MIDIbox NG application with following options in mios32_config.h  for optional third Enable line (pin A6 of J5B):

#define MIOS32_BOARD_LCD_E3_PORT GPIOB      
#define MIOS32_BOARD_LCD_E3_PIN  GPIO_Pin_0

 

every time i get the same error

"

project_build//c/MIOS32/mios32/STM32F4xx/mios32_board.o: In function `MIOS32_BOARD_J15_PortInit':
c:/MIOS32/mios32/STM32F4xx/mios32_board.c:927: undefined reference to `LCD_PIN_E3'
project_build//c/MIOS32/mios32/STM32F4xx/mios32_board.o: In function `MIOS32_BOARD_J15_E_Set':
c:/MIOS32/mios32/STM32F4xx/mios32_board.c:1118: undefined reference to `LCD_PIN_E3'
collect2.exe: error: ld returned 1 exit status
make: *** [project_build/project.elf] Error 1
"make all" terminated with exit code 2. Build might be incomplete.

"

I use Eclipse for compiling.

I didn't understand something. I'm not a coder.

In the CORE_LPC17 Module there was J28 for connecting other displays but not on MBHP_CORE_STM32F4 board.

I need some help.

Thanks all for your help and your time.

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...