我的 Bascom 项目有问题。
首先,这是我的代码:
$regfile = "m128def.dat"
$CRYSTAL=8000000
$hwstack = 512
$swstack = 512
$framesize = 512
Config Porte = Output : Data_disp_low Alias Porte 'DB0 - DB7
Config Portf = Output : Data_disp_high Alias Portf 'DB8 - DB15
Rs_disp Alias Portd.0 : Config Rs_disp = Output 'Command/Data pin
Wr_disp Alias Portd.1 : Config Wr_disp = Output 'Write pin
Rd_ssd1963 Alias Portd.2 : Config Rd_ssd1963 = Output
Res_disp Alias Portd.4 : Config Res_disp = Output 'Reset pin
Res_disp = 1
Cs_disp Alias Portd.3 : Config Cs_disp = Output 'Chip Select
Cs_disp = 0
Const Color_bgr = 0
Const Portrait = 0 '1=Portrait, 0=Landscape
Const Rotate_180 = 0 '1=Rotated, 0=Not Rotated
Config Submode = New : $include "SSD1963 16bit library.inc" 'Include library
Config Portd.0 = Output
Display_init
Lcd_backlight 160
Lcd_clear Black
Restore A_en_boldfont14x23
Alcd_txt "Hello" , 320 , 37 , White , Black , 0
wait 5
我想恢复一个文件并在我的 GLCD 中显示它,但 IDE 向我显示此错误:
Error : 61 Line : 28 Label not found [A_EN_BOLDFONT14X23] , in File : D:\AVR\bascomprj\lcd4inch\noname2.bas
这很奇怪,因为我放入[A_EN_BOLDFONT14X23]
了我的项目文件。
有人知道答案吗?