Where is your RETURN statement in the routine "sub_error"?
Type: Posts; User: Dave; Keyword(s):
Where is your RETURN statement in the routine "sub_error"?
If it was me, I would use an FM24W256 as it is a 256-Kbit ferroelectric random access memory (F-RAM)
logically organized as 32 K × 8. It has an unlimited write cycle and does NOT have the 5...
I would like to wish everybody and there family's a very merry Christmas and a happy and prosperous New Year from my family...
Dave Purola,
If you do have problems then I would just use a serial BACKPACK and use RS232.
That's great but, at 9600 baud it will be in this routine for 26.5 milliseconds. That's OK if you can afford it...
These type of controllers require a digital direction input, an digital enable input, and last but not least, a digital step input. The controller will advance the motor 1 step for every digital...
I believe it takes ~750 Ms. to complete 1 conversion. With that being said, How are you going to discern if the next pulse is the tach output or the DS output?
So... Do it....
Exactly correct. What I do is scan each sensor 1 at a time and take the serial number and attach it to the sensor lead with a piece of paper under a piece of transparent film. That way I can replace...
Here is a program I wrote some years ago to do a search of 1 wire devices present on a single bus.
You have only declared "rbuf var byte" It is being used as a pointer as far as I can see. It will be NO LARGER than 255.
Yes, That can be done as I have paralleled up to 8 strings of 30 pixels each.
For the last 20 or so years I have enjoyed using PBP for work and at home for my own projects. I would hate to see it die a slow death. So far it has been very useful with some of the newer PIC's I...
I have to ask, What is the serial input port connected to? Does the receiver have a CMOS output meaning it can sink and source voltage for the input pin? If it is an open collector output from the...
Sheldon, Here is the .asm file I use here.
Sheldon, This is the sheet for the 18F47K40 that I use here.
Sheldon, The only statement required for PBP is the "DEFINE LOADER_USED 1" at the top of the program.
Sheldon, Here is the source directory I use here. The forum does not allow files bigger than 1M so I can't send you the x0.11.2 executable.
Sheldon, Where did you get the .ASM file for the processor? Looking at and comparing the two different files the one that you modified is rather old from 2016.01.15 revision 5 and the one I sent you...
Sheldon, You don't have to compile it as the source ia already an .ASM file. It only needs to be assembled with MPLABX. That will give you an .HEX BootLoader file that needs to be FLASHED into the...
Sheldon, Just modify this file extension from .txt to .asm. Then modify for the frequency and chip config and then assemble with MPLABX to get the .hex file for flashing. Then use TinyMultiBootLoader.
Yes, That is correct. The PAUSE command is based on the OSC frequency. If you had an 4 Mhz. crystal connected and told PBP that the OSC was 8Mhz. the PAUSE command would give you 2 times the value...
A rather interesting read Ioannis.
Looking at your code I do not see the IRQ routine "ClockCount".
Glad to see you got it working Bo.