Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Balachandar; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Re: DT-Interrupts - Is there a clash between ExtInt and IntOnChange?

    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
  2. Re: DT-Interrupts - Is there a clash between ExtInt and IntOnChange?

    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...
  3. Re: DT-Interrupts - Is there a clash between ExtInt and IntOnChange?

    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...
  4. Re: DT-Interrupts - Is there a clash between ExtInt and IntOnChange?

    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...
  5. Re: DT-Interrupts - Is there a clash between ExtInt and IntOnChange?

    The routine "ClockCount" is part of the included file "Elapsed_INT.bas".
  6. Re: DT-Interrupts - Is there a clash between ExtInt and IntOnChange?

    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...
  7. DT-Interrupts - Is there a clash between ExtInt and IntOnChange?

    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...
  8. Re: An Excel tool to get the byte values for 7-segment displays

    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,...
  9. Re: An Excel tool to get the byte values for 7-segment displays

    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...
  10. An Excel tool to get the byte values for 7-segment displays

    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...
  11. Replies
    3
    Views
    23,470

    Re: Why does PICkit2 show it as an LF device?

    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...
  12. Replies
    3
    Views
    23,470

    Why does PICkit2 show it as an LF device?

    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...
  13. Replies
    13
    Views
    37,672

    Re: How to use TM1637 chip for LED Display?

    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...
  14. Replies
    13
    Views
    37,672

    Re: How to use TM1637 chip for LED Display?

    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...
  15. Replies
    13
    Views
    37,672

    Re: How to use TM1637 chip for LED Display?

    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...
  16. Replies
    13
    Views
    37,672

    Re: How to use TM1637 chip for LED Display?

    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...
  17. Replies
    13
    Views
    37,672

    Re: How to use TM1637 chip for LED Display?

    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...
  18. Replies
    13
    Views
    37,672

    How to use TM1637 chip for LED Display?

    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...
  19. Replies
    5
    Views
    34,540

    Re: TM1637 - display module include example

    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....
  20. Replies
    5
    Views
    6,260

    Excel Tool for 7 Segment Displays

    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...
  21. Replies
    6
    Views
    4,156

    Re: DT_Interrupts - TMR1 Issue With 16F88

    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...
  22. Replies
    6
    Views
    4,156

    Re: DT_Interrupts - TMR1 Issue With 16F88

    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....
  23. Replies
    6
    Views
    4,156

    DT_Interrupts - TMR1 Issue With 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...
  24. Re: Our dearest friend has passed away. Bye Darrel...

    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.
    ...
  25. Re: 18F26K22 - Unable to get 64MHz Internal clock speed

    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...
Results 1 to 25 of 33
Page 1 of 2 1 2