pic-ohjain 18F46K20 LCD-näyttö

J

joosthuis21

Guest
Olen ohjelmasuunnittelun HI-TECH PIC valvoja 18F46K20, mutta minulla on ongelmia ohjelmointi LCD-näytön OLED.Sain seuraavan virheilmoituksen:

"" undefined symbolit _oled_putc_2x "", mutta olen samaa symbolit on oled.h tiedosto joten miksi tämä on virhe.

Tämä on koodi:

#
include <htc.h>
#
include <18f46k20.h>
#
include "oled_interface.h"
#
include "oled.h"

unsigned char hello [7];
unsigned char maailmassa [7];
unsigned int viipymättä;

mitätön InterruptHandler (void);
mitätön InitializeSystem (void);

mitätön main (void) (

char temp;

InitializeSystem ();

_delay (50000);
while (viive -);

oled_init ();
oled_clear ();
oled_refresh ();

oled_putc_2x ( '\ n');
oled_putc_2x ( '\ t');
oled_putc_2x ( '\ t');oled_putc_2x ( 'H');
oled_putc_2x ( "e");
oled_putc_2x ( 'l');
oled_putc_2x ( 'l');
oled_putc_2x ( 'o');

oled_putc_2x ( '\ n');oled_putc_2x ( '\ t');
oled_putc_2x ( '\ t');
oled_putc_2x ( '\ t');

oled_putc_2x ( "W");
oled_putc_2x ( 'o');
oled_putc_2x ( 'r');
oled_putc_2x ( 'l');
oled_putc_2x ( 'd');

oled_refresh ();

while (1) (/ /
main loop
)
)

 

Welcome to EDABoard.com

Sponsor

Back
Top