You are right Ioannis. With 100Hz, there is a lot of time. It's all a question of what needs to be done by the ISR and how quickly it can be done.
- Bala
Type: Posts; User: Balachandar; Keyword(s):
You are right Ioannis. With 100Hz, there is a lot of time. It's all a question of what needs to be done by the ISR and how quickly it can be done.
- Bala
Your thought is not at all crazy; it's quite logical.
Both IOC Int for firing the triac and Timer1 Int for the Elapsed Timer occur 100 times per second. But I cannot use the Timer1 Int for the...
Thank you Richard, for the suggestions. I will try and implement whatever I can.
I haven't written any code in Asm so far. I guess, when it comes to using multiple interrupts, learning to code in...
Thanks Richard, for clearly stating where the problem is.
When one interrupt is being serviced, if another interrupt occurs, the second one either gets ignored (in PIC16 and lower) or is acted...
The routine "ClockCount" is part of the included file "Elapsed_INT.bas".
Here's my code. Sorry about the delay.
I just realised, the title for this thread should have been "DT-Interrupts - Is there a clash between Timer1 Int and IntOnChange?"
Both Timer1 Int and...
Recently I completed a home project for controlling a light and a fan with an IR remote.
Some relevant details are given below.
PIC used: 16F689 - 20-pin device OSC: 8MHz
PicBasicPro Version...
Well, you can also add these to the list of upper case letters: G, J, O and S. I have seen letter 'M' represented by segments e, a and c. It's an approximation, but not a bad one; by the same logic,...
Thank you Dave. I feel happy to know that you find the tool very useful.
You have given me a good idea to come out with Version 2 of the tool. In addition to the letters you have mentioned, I am...
When we design projects with 7-segment displays, we simplify the PCB design by connecting any pin of the port to any segment of the display. When we do that, arriving at the byte values for the...
That's right.
As I have mentioned in my earlier post, the PIC works fine. I understand that there is no difference in programming voltage between 12F1840 and 12LF1840 . I havae a PICkit2...
About a month back, I bought 5 pieces of PIC12F1840 (SOIC package) from Ali Express for $ 3.22. I am able to program them and run the code at 5 volts without any problem. But PICkit2 always...
WOW! FINALLY, IT HAPPENED!!
The TM1637 LED display module came alive!!!
I used your revised code for 18F devices and after I made a few changes in the CONFIG section, the compilation for 18F2620...
Compiled your code for 12F1822 for 12F1840 after adding the 'Blink LED 3 times' routine. Compilation went through without a hitch followed by programming a 12F1840. When tested, the LED blinks 3...
I used your 18F2620 version of the code for TM1637. It compiles OK, but in the subsequent test with the 18F2620 on a breadboard, the LED lights up and stays lit without anything happening to the LED...
Thank you Richard, for the clarity you provided on LAT registers.
Couple of days back, I downloaded PBP 3.1.1 with the idea of trying it out and to compile codes written for Ver 3 and above.
I used...
Mpgmike & Richard, thanks a lot for your comments and suggestions.
I first tried 'FOR Cnt = 0 to 7'. Since that didn't work, I changed the code to ''FOR Cnt = 7 to 0 STEP -1' to see whether that...
Hi All,
For the past 10 days, I have been trying to make the TM1637 work with PBP 2.60C but till now I have not been successful. It's a real low cost module. The price of the TM1637 4-digit...
Hi longpole001,
Thanks for posting some useful info on TM1637 display module. Based on your post and and some details obtained from the Net, I am trying to write code in PBP 2.60C for pic 12F1840....
When we design a PCB for a project that includes a 7 segment display, the usual practice is to connect the port pins to the segments in the most convenient way to avoid or minimize jumpers. Then we...
Tabsoft, you are absolutely right on both the counts.
In the case of the code taken from Darrel's test program, the Option_Reg setting is hex 81 which is binary 10000001. Bits 2-0 are "001" which...
Henrik and Tabsoft, thanks a lot for your helpful comments and suggestions.
I had tried the codes for both TMR0 and TMR1 as given by Darrel. But none of them worked as expected when I used 16F88....
I tried the test program given by Darrel Taylor - DT_INTS-14 - Blinky Light. It uses Timer1 to blink an LED at a constant rate, no matter what the main code is doing. This is one of the impressive...
Extremely saddening and shocking news.
Darrel was a rare combination of a high level of technical knowledge and a very helpful attitude. I have taken his help to solve some technical issues.
...
Thanks a lot, Robert. On checking your code I noticed that bits <1:0> of register OSCCON are cleared in your code whereas I had entered them as 10 to select the Internal Oscillator Block. I corrected...