Some headway! In the past and for years my include statement was,
include "DT_INTS-14"
include "ReEnterPBP"
and there has never been a problem until now. So I have changed these statements...
Type: Posts; User: MOUNTAIN747; Keyword(s):
Some headway! In the past and for years my include statement was,
include "DT_INTS-14"
include "ReEnterPBP"
and there has never been a problem until now. So I have changed these statements...
I have a number of files that I wrote several years ago which contain DT-INT’s. Today I am having a problem compiling the same files that worked as expected a year ago.
Warning: Unable to open...
Thanks Mike, I'll go through the manual looking for overwrite comments.
wayne
OK, so I found part of the problem.
I should have changed the old fusses to
@ __CONFIG _CONFIG1,_INTRC_OSC_NOCLKOUT & _MCLRE_ON & _LVP_OFF & _WDT_OFF
to use PB3 & MPASM. Now i'm getting...
After upgrading to PB3 I've been opening some of my old 2.60 programs to see if they will run on PB3. My first try failed.
@ DEVICE INTRC_OSC,MCLR_OFF,BOD_OFF,WDT_OFF,LVP_OFF
Compiling for...
Thanks Mike, you beat me to the post by one min. That should solve the problem.
Wayne
OK, I think I found the problem. I had "DT_INTS-14" which seem to work in 2.60 but in PBP3 it must be "DT_INTS-14.BAS". More testing to be done.
Another thing, where is the thread explaining...
I have kickstarted this old thread because it had the same problem as I am having except my root cause is different, I think.
I have upgraded to PBP3 and MPLABX5.35.on WIN10
"PBP Tool Chain" is...
Thanks Alain
I am looking at a linear "Z" assembly, 4 wire stepper motor item to build a macro photography camera drive mechanism. the stepper is a 2.2volt coil, 4 wire devise.
My question is, does that mean...
thanks for responding. So I tried all above suggestions with no luck.
IF (CODE ON ONE LINE)
asm
_CONFIG _HS_OSC & _MCLRE_OFF & _WDT_OFF & _PWRTE_OFF & _CPD_OFF & _BOD_ON &...
Started what I thought would be a quick turnaround to build a board to capture pulses from a rain gage and send to a master board. PicProto8 board and a 12F683 should do nicely. Why do things...
So last week I was in Atlanta,Georgia. While there I went to the regional headquarters of Microchip. Due to the pandemic the building was almost empty. In the upper floors I found the Microchip...
Sayzer, your a good man!!! :)
So things now work but I still didn’t understand why some things were acting as they were. As Richard said “You are still not getting it right evidently”. I could finish the project at this point...
Success at last, well kind of. New questions are raised as the problem is solved.
Alain's code dimnstrates the purpose of the sleep state, low power, all ports off. This is not required but is...
Thanks guys for all your replies. I really do appreciate the time you've
taken.
So Richard, I should have understood what you were saying the first time. I converted all code to PBP and it looks...
So I've run all the test Sayzer has suggested. No changes. I then strip code to a couple of lines. I have done this on multipal 1936 and different boards.
Asm
__config...
PIC16F1936, PBP PRO 2.60, MPASM,
My Slave Board receives com from the Master Board and runs Subroutines.
Slave operates in tight loop at Start.
On EUSART INT Slave receives one command Byte...
My project uses a 16F1936 on both a Master and a Slave board. Durring the program the Master sends a code for the Slave to run a subroutine to SLEEP. I am trying to use ASM SLEEP as to NOT...
I agree with Mike, please post your code, inquiring minds want to know...
Andy, a 250 precision Res is what I always used in the field for years. Just check the voltage across the res with the pic. I would think it depends on the accuracy you need.
wayne
Changing "osc" to "OSC" did the trick. Com now acting as it should.
Thanks.
thanks Richard, I try that out. thats something I never thought about.
Wayne
Thanks for the reply. So I feel better about the interrupts. Serout, ok.
asm
__config _CONFIG1,_FOSC_INTOSC & _CLKOUTEN_OFF & _MCLRE_ON & _BOREN_OFF & _WDTE_OFF & _FCMEN_OFF & _CP_OFF &...