how are you off for socks and underpants ?
Type: Posts; User: richard; Keyword(s):
how are you off for socks and underpants ?
it fails of course for more than 255 chrs
9025
BalBuffer VAR BYTE[300]
BalCount VAR word
latb.7=1
or even
9024
BalCount = 40HSEROUT [STR BalBuffer\BalCount,13,10]
debug STR BalBuffer\BalCount,13,10
debug "full load",13,10
debug STR BalBuffer,13,10
it works for me
9023
;pic18f26k22 tx demo
#CONFIG
CONFIG FOSC = INTIO67
CONFIG PLLCFG = OFF
CONFIG PRICLKEN = OFF
in the old dialup days +++ used to be a modem escape sequence, worth a try
not sure , for the 16f1788 the microchip ipe with pk4 warns , 5.00 v recommended (not sure where the ldo comes into play)
as i don't , i have never seen or heard of a pic having an adverse...
your not trying to run chip at less than 5v ? decouple caps etc [i'm using none]
reset is pulled high ?
enc and sw pins are pulled high with suitable r
i cannot get mine to fail no matter hard i...
would seem that way , although his dt_ints may be altered.
only changes i made
latc.6 = 1 ' reversed polarity tty
serout2 PORTC.6,84,[13,10,"I'm Alive",13,10,10]
not to mention that mine ,same code same chip does not reboot
the reason i ask is that if your programmer is still connected and the programmer is used to power your proto board .
some leave the icspclk pin on the programmer as a high output , if your RE...
one thing you can eliminate is a code problem [assuming code as posted] mine is has run for 24 hours+ without resetting
describe your setup including whether you leave the programmer attached...
mine has been running for 4 hours now , nill resets
i breadboarded a 1788 and using the code as posted in reply 8 with one slight change in that serout2 is set to T9600 it
1. fails to count properly as predicted
2. shows no signs of resets...
if you look at the expected b5,b6 pin values at each interrupt
for neg edge trigger only
ints occur on orange lines
9010
under ideal conditions you get for say cw rotation...
all you have to do is post the code for your attempt and i will have a look
hints
serout2 PORTC.6,16468,[13,10,"RE_val ",dec5 RotEnc1_val] once in an isr is bad twice is just asking for...
see here
http://support.melabs.com/forum/picbasic-pro-compiler-3-0-and-later/asm-assembly-language-in-picbasic-pro/6753-accessing-hef#post6758
there is no apparently. its what should and does happen.
more interesting is that your analyser does not even come close to reflecting what your "snippet" should reproduce.
either your...
i tested my code while i had the sim running, seems i cant count well
this is better
#CONFIGcfg = _HS_OSC ; HS oscillator: High speed crystal/resonator on GP4/OSC2/CLKOUT and...
thats not a complete program ,its a pointlless snippet
this is a program
;pic16f1825
DEFINE I2C_SLOW 1
#CONFIG
a message database of null terminated strings
@ ORG 4000h
messages:
@ dw 0x08 ;message 0 offset
@ dw 0x12 ;message 1 offset
@ dw 0x22 ;message 2 offset
@ dw 0x2e ;message 3...
i think you misunderstand neither method is efficient
two hunted bytes to store a message 32 or so bytes long , not good
arraywrite to a buffer then hserout str buffer
do you realise that hserout messages of a constant str type are the least efficient way to store and retrieve text ?
ditto for arraywrite
PCF8547p/t/a is an unusual situation having only one register to read or write from, the chip cares not how many reads or writes you squeeze into one transaction.
the final result is the last byte...
its not one division its three with a 90 deg phase shift on one of them.
one div would be like this
;In simple terms toggle a pin on every 125th cycle
;start:;set gpio pin high
;delay...