From the manual:
7.6.3 Sub-Arrays within Arrays
Consider the following variable declarations:
all_data VAR BYTE[48] ' Array for all my data
samples VAR all_data[0] ' 16 bytes for...
THE BOOK of DT's INTERRUPTS is an
organization of interrupt service
routines and other works written by Darrel Taylor, RIP. Interrupt routines are arranged per Darrel's original list. Darrel Taylor's Instant Interrupts are an extension of the work of Tim Box whom in October of 2002 wrote INT_CTRL.pbp Many of the forum members felt this is a long overdue project. THE BOOK of DT's INTERRUPTS will be a valuable resource and a tribute to Darrel Taylor the "Fanatical Contributor". THE BOOK of DT's INTERRUPTS is located at http://dt.picbasic.co.uk/ |
Type: Posts; User: Ioannis; Keyword(s):
From the manual:
7.6.3 Sub-Arrays within Arrays
Consider the following variable declarations:
all_data VAR BYTE[48] ' Array for all my data
samples VAR all_data[0] ' 16 bytes for...
That is correct. Not a problem but the default state of the compiler.
Ioannis
And still there is no way to direct the use of specific PIC in the #config block.
Use the MCS IDE that came with your purchase of PBP. Is the easiest solution.
Ioannis
9260
Why don't you use the free MCS IDE?
Depends on how one is looking the case.
Richard did his best nailing your problem and suggesting a solution. If it is not what you expected, well, OK.
In any case this forum helped many and...
I did not experience such an ad up to this moment. Only between posting and down on the page.
This one is sure a bit annoying anyway.
Ioannis
This reply was preceded by a full screen Java ad that is irrelevant to my usual searching. Anyway, in general yes, they are related to some degree of technical nature.
I do click on those related...
Up to this moment I see ads on the bottom of the page and between posting a reply as a full screen ad.
Browser is Opera with no Ad blocking.
Ioannis
I was not attacked as other users by ads, I do not know why since have not blocked ads for this forum, but in generall for me it is now much better.
Hope income will still be enough to cover the...
Don't think so.
Microchip has a bad habit to change the notations and other thinks on new devices and this makes things too complicate.
One has to read ALL the datasheets and then make a...
https://www.serasidis.gr/circuits/AVR_VGA/avr_vga.htm
http://microvga.com/#
Ioannis
Get rid of Floating point. All will be much more smoother.
Either you like it or not, Richard has nailed the problems. If I were you, I would read carefully his suggestions.
Ioannis
Many thanks for these new files.
Ioannis
A major limitation is that the chip does not support use of XTAL as a clock source. User needs to select either internal oscillator or external clock source, something that Jay is not fond of.
I...
It is a 10bit PWM system but the resolution of the PWM signal depends on the PWM period or frequency. Higher the frequency, the lower the resolution.
So, at 20MHz and a frequency signal of 125KHz,...
Hi Jerson.
Thanks for the good points. Yes I will change the ISR to what you suggested. But in any case as it is now, it works very good. With your suggestion will be more efficient and fast in...
Anyone managed to control an 3 1/2 arithmetic LCD display?
The 16F1939 chip has internal LCD driver to create the proper voltages for backplane and each LCD segment.
A PicBasic example would...
Mismatch is taken care in the ISR (5th command in the IOC2 routine) and the then interrupt flag bit is reset.
My problem is that it does interrupt continuously as the user keeps pressing the...
Any idea how can the keyboard matrix scan routine check for key release, before jumps to the keycheck subroutine please?
keyscan:
while 1
for ix=0 to 2 'scan columns
...
The interrupt on change is created by a matrix keyboard connected on portB (0-6).
I noticed that a short keypress allows PIC go to sleep, while a longer press keeps it semi awake.
Then I added...
Additional info:
The ADC uses internal Vref of 0.6 volts to check the battery power supply. Before sleep the ADC is switched off.
Also UART is switched off, along with Tmr1 and some ports...
On a 16F886 the following code initially is in sleep mode having almost 0 current through PIC.
But after first interrupt-on-change (port B), the sleep does not zero current. It stays rather high...
SKIP 4 as a modifier maybe?
Ioannis
In the past was not in the annoying side of spams. Checked the previous posts and cannot decide to kick him/her out... We'll keep our eye on..
Ioannis
Use #config and #endconfig like this for example:
#CONFIG
__CONFIG _CP_OFF & _DEBUG_OFF & _CP_OFF & _CPD_OFF & _LVP_OFF & _BODEN_OFF & _PWRTE_ON & _WDT_OFF & _XT_OSC
#ENDCONFIG
Ioannis