hi,
may i ask..if i wan to use battery to replace the power supply, what battery to recommend?
Type: Posts; User: fokus_1116; Keyword(s):
hi,
may i ask..if i wan to use battery to replace the power supply, what battery to recommend?
the SERIN2 can put like this?
WAIT1
IF FLOWIN = 1 THEN WAIT1
@ Clear2D ; clear the array
FOR Y = 0 TO Length-1
SERIN2 VinTXD,84,[WAIT(CRET),STR FILE1\12 \CRET] ...
using this way of array...if i got 10 file..then need to copy the X1X2 until X120? this way of array i have try it..it simple and easy...if i dunno the pendrive have how many file?
what array you using? can show it?
u use the 2.46version...
the code i use it like stuck only can run until the code below then stop
INCLUDE "modedefs.bas"
@ __config _HS_OSC & _WDT_OFF & _LVP_OFF & _CP_OFF...
dear mackrackit
below is my code..it like stuck at some where please help..
INCLUDE "modedefs.bas"
@ __config _HS_OSC & _WDT_OFF & _LVP_OFF & _CP_OFF...
dear sir,
y when i put the line @Put2D(X,Y) then cannot compile got error
Error[108] C:\USERS\PIC16F873A\ARRAY TEST 2\ARRAY2.ASM 311 : Illegal character (()
so sorry,
i got post my coding..but dunno y cant display...
now the coding not at me..later i will post again for the coding...thank for your inform
i already tired to try the 2d array but it still cannot work....
is that any way to store the file name except using the 2d array?
dear sir..
i plan to use 2d array to store the file name and then display it to the LCD..
but cant make it success ... is that any suggestion to make it the array work?
mackrackit,
can i use 2D array in picbasic pro compile or the pic16f873A can support the 2D array?
dear mackrackit,
i already figure out..how to make it display..but the array part need got some prob.. it that got other way to make the file store at X
X1 = FILE1[0]
X2 = FILE1[1]
X3 =...
INCLUDE "modedefs.bas"
@ __config _HS_OSC & _WDT_OFF & _LVP_OFF & _CP_OFF
DEFINE OSC 20
DEFINE SER2_BITS 8
DEFINE LCD_DREG PORTA 'LCD Data line
DEFINE LCD_DBIT 0
DEFINE LCD_RSREG ...
i follow the way newbie show to the LCD...but i only can show 1 or 2 file name only..then keep on repeat the second file name..
i think another prob is ..i using 4bit....i will try using 8bit to test it..
ya almost the same...
ya thankyou very much...i get it work and succes send comment to the VDIP2.now working on the 2 line LCD..because it cant display the file name correctly...
thx..
i wan to ask..this
"HIGH PORTD.2 'LED
PAUSE 250
LOW PORTD.2
PAUSE 250"
line is for ?
and why need put this "HIGH VinRXD"line?
follow the code u given already success print hello to hyperterminal...
is that means if i modified the code n connect to VDIP2 module..
when i add in this line
@ __config _HS_OSC & _WDT_OFF & _LVP_OFF & _CP_OFF
and compile .. get error
Error[118] C:\USERS\DESKTOP\PIC16F873A\PIC TO HYT\ABC.ASM 157 : Overwriting previous...
i know so a little bit cant have so large hex code....
before i set the configuration bit.. the hex code size is small..after i export it..it become large...
DEFINE OSC 20
TXD VAR PORTC.7 'AD0 TXD VDIP2 connect RX
RXD VAR PORTC.6 'AD1 RXD VDIP2 connect TX
FlowIn VAR PORTC.0 'AD2 RTS
StartDisk:
RXD=1
SEROUT2 VinRXD,84,["hello"]
pauseus 1000
GOTO...
i did not connect to the VDIP..just connect with max232...
HIGH RXD
SEROUT2 RXD,84,["ECS",13]
and i change to
HIGH RXD
SEROUT2 RXD,84,["hello",13]
i testing with the code i post b4..i got connect to 232 using max232..i already test the mode with 84,8276
INCLUDE "modedefs.bas"
DEFINE OSC 20
DEFINE LCD_DREG PORTA
DEFINE LCD_DBIT 0
DEFINE...
i still cannot display on the hyperterminal...still got any solution?