i old post sad
"You should use control address $A0 for write and $A1 for read (for lower), while (for upper) $A8 for write and $A9 for read"
If i use $A0 for write and $A1 work block 1 - 0 to...
Type: Posts; User: mpardinho; Keyword(s):
i old post sad
"You should use control address $A0 for write and $A1 for read (for lower), while (for upper) $A8 for write and $A9 for read"
If i use $A0 for write and $A1 work block 1 - 0 to...
RTTC is correct Darrel ?
'****************************************************************
'* Name : DT_INTS-18.bas *
'* Author : Darrel Taylor ...
Darrel, exist in DTS RTTC INT ??
i use pic 18F26J50 ..... i need control rtc interrupt
ASM
INT_LIST macro ; IntSource, Label, Type, ResetFlag?
INT_Handler RX_??, _Relogio, PBP, yes
endm...
how to use rtc interrupt with DTS INT ?
PIR3.0 = 0
PIE3.0 = 1
INT_RTC ??
i need alarm ... 10 minutes
ASM
Usb work 100%
but hserout not work ... wrong caracters
i use hserout for debug/gsm...
18F25J50
INCLUDE "modedefs.bas"
with 12mhz crystal USB work 100%
but i need work with 8Mzh low speed
can i help ?
'***************************************************************************
'* Name : BasicUSB.pbp...
i need work with PIC18F14K50 with 8mhz resonator
asm
__CONFIG _CONFIG1L, _CPUDIV_CLKDIV2_1L & _USBDIV_ON_1L
__CONFIG _CONFIG1H, _FOSC_HS_1H & _PLLEN_ON_1H & _FCMEN_OFF_1H &...
i'm try configure 18F25K22 for work 16MHz internal Osc
code show hserout text wrong and led not blink
asm
__CONFIG _CONFIG1H, _FOSC_INTIO67_1H & _FCMEN_OFF_1H & _IESO_OFF_1H...
I use KBDDESC.txt
USBOut 1, buffer, 8, endgame
t = $0
where buffer=[t,0,$14,0,0,0,0,0] ' ($14=q) OK
t = $2
buffer=[t,0,$33,0,0,0,0,0]' ($33 = /) error
many thanks.....
i used
INTCON2.4 = 0 ' PORTB.2 - Lo to Hi
and works 100%
the code works, but _B0 is started then PORTB.2 Low to High,
i need High to Low
i tryed
DEFINE LVDINT = PORTB.2
and
DEFINE HLVDINT = PORTB.2
but not work
thaks all for help.......realy 452 not have internal oscilator.......vendor sad 252 = 2520
arggggggggg.....i'm a donkey....i not read pdf
The real problem is i need that my 18f252 work with internal oscilator and 32mhz,
in pic18d2520 i use config above and work 100%
asm
__CONFIG _CONFIG1H, _OSC_INTIO7_1H &...
i need change my config because 18F2520 finish in my city....then i but 18F252 and
i have problem with config
code/pic work with 8 mhz internal oscilator with pll = 32mhz
Code work 100%
...
PORTC instable
Can i help me?
if i write ..
KeyUp:
PORTA = 0
TRISA = %00000000 ^ %00011111
PORTC = 0
i try but not work, anyone ?
http://hosting04.imagecross.com/image-hosting-04/5527imagem.JPGImage Hosting
i try serout portb.1, T9600,["test", 13]
..
serout portb.1, N9600,["test", 13]
how to change OPTION_REG in 18F2550?
16F648:
PS0 = OPTION_REG.0 ' Prescaler select bit 0
PS1 = OPTION_REG.1 ' Prescaler select bit 1
PS2 = ...
PJALM's
is possible upload the code?
i use http://www.picbasic.co.uk/forum/archive/index.php/t-2736.html but not work leds
many thanks
In code in 18F2550 letra not work.......letra = " ", but in 24lc512 have "AAAAAAA"
usb work 100% if i use
Contador = 1
Dados[0] = "A"
gosub USB_Envia
In 18F252...
hserin work 100% but if i use usbin code not work
INCLUDE "modedefs.bas"
asm
__CONFIG _CONFIG1L, _PLLDIV_1_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L
...
Greate ............
Many thanks for help
Work 100%
i can't config _CP_ON in 16F873A
asm
__Config _HS_OSC & _WDT_ON & _LVP_OFF & _CP_ON
endasm
error message - _CP_ON not defined
Data of hserin is ok
............
USBService ' Must service USB regularly
Cnt = 10
USBIn 3, Buffer, Cnt, MainLoop
' Send to pc data recived from pc
GOTO...
i try this code with 18F4550 and work 1000%
i change code for 18F2550 and not work, not Recognised
Resonator 4Mhz
4k7 in Mclr
470nf in Vusb
0,1nf in Vdd-Vcc
Vusb - 4550 = 3,31
Vusb - 2550...
i'll re-write my code....thanks