Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    5,053

    Low frequency PWM

    Hi all,

    Thanks for the helping hand and code. I used your code samples but it just didn't do the trick. My goal was to be able to have 2 low freqency PWM signals with a 90 degree phase shift.
    ...
  2. Replies
    772
    Views
    595,485

    wohoo Darrel, Thanks !

    wohoo Darrel, Thanks !
  3. Replies
    772
    Views
    595,485

    Darrel, Thanks for the DT-INTS modules, it's...

    Darrel,

    Thanks for the DT-INTS modules, it's an awesome piece of work. It makes interrupt handling so much easier !

    I found this topic because i got stuck using the DT-INTS-18 within code that...
  4. Replies
    5
    Views
    5,053

    You're so right ! I don't know how i missed this....

    You're so right ! I don't know how i missed this. Thanks !

    A couple of day's ago i found a timer calculator, i just entered the frequency and the calculations were made. However, it seems that the...
  5. Replies
    5
    Views
    5,053

    I just had another idea. I need a base frequency...

    I just had another idea. I need a base frequency of 120Hz. On a 8Mhz intosc, if i make the frequency 256 x 120Hz = 30720Hz and count 256 interrupts and then fire a pin i should have 120Hz, right ?
    ...
  6. Replies
    5
    Views
    5,053

    Low freq PWM problem

    Hi All,

    I'm kind of stuck at the moment.

    I need a pwm signal with a low frequency. Darrel has made the awesome slow pwm module but i can't use because i need timer1 to do a continues pulse...
  7. Replies
    11
    Views
    10,717

    Strange thing is that on the tiny website there...

    Strange thing is that on the tiny website there is sample code called tinybld18F2420_int8MHz_19200.HEX and should work ...

    The code sample never did work. Add the fact that Melanie is talking...
  8. Replies
    11
    Views
    10,717

    Hi there, Well i did get it to work, but by...

    Hi there,

    Well i did get it to work, but by using a 16F88 ....
    I could not get the tiny bl to work on the 2420, so i tried a different part to be sure it actually worked, it did work on a 16F88....
  9. Replies
    3
    Views
    7,200

    Great ! Regards, UltiBlade

    Great !

    Regards,
    UltiBlade
  10. Replies
    3
    Views
    7,200

    Hi, I sometimes have problems with adc_in. Try...

    Hi,

    I sometimes have problems with adc_in. Try this piece of code where you want to adc_in:



    ADCON0.1 = 1 'Start ADC conversion
    while ADCON0.1 = 1 :wend...
  11. Replies
    4
    Views
    3,978

    Just wondering. With the pbp ON INTERRUPT...

    Just wondering. With the pbp ON INTERRUPT STATEMENT i could do a RESUME to a specific label.

    This is not possible with the DT int, right ?
  12. Replies
    4
    Views
    3,978

    OK ! I will give the Dtint a try ... Thanks...

    OK ! I will give the Dtint a try ...

    Thanks for the fast reply !

    Best regards,
    UB
  13. Replies
    4
    Views
    3,978

    Interrupt question

    Hi !

    I have a small question. If i use the following code:


    ;==== Dec's for OSC
    DEFINE OSC 8 'Int OSC @ 8 MHz, for PBP
    OSCCON = %01110001 ...
  14. Replies
    22
    Views
    17,393

    You are right ! Missed that one, sorry .. Will...

    You are right ! Missed that one, sorry ..

    Will order some samples as soon as possible, hoping that support for the part in PBP will be available soon ..

    Best regards,
    UB
  15. Replies
    22
    Views
    17,393

    Yep, if only it had eeprom .... :-(

    Yep, if only it had eeprom .... :-(
  16. Thread: Timer + rc5

    by ultiblade
    Replies
    8
    Views
    8,698

    Hi Naga, I did some RC5 controlled projects...

    Hi Naga,

    I did some RC5 controlled projects last year.
    I did some searching but i could only find some of my test code.
    You should read the info found on...
  17. Replies
    22
    Views
    17,393

    Hi Bruce, Thank you for your detailed answer !...

    Hi Bruce,

    Thank you for your detailed answer ! All is clear now.

    I have adapted the code in a way that the led's never go below 12uS, that way the 'color' switch on and off effect (color...
  18. Replies
    4
    Views
    4,668

    Exactly what is it what you are trying to build ?...

    Exactly what is it what you are trying to build ? TTL serial communication to a Nokia 6210 ?

    Serial comms from a microchip to another device can be achieved in various ways ...
  19. Replies
    22
    Views
    17,393

    Dear Jerson & Bruce, I could not get here...

    Dear Jerson & Bruce,

    I could not get here earlier, sorry. I appreciate your efforts !

    Jerson, if i declare the delay variable as a byte, it takes even longer.
    I just don't understand .. The...
  20. Replies
    22
    Views
    17,393

    Small update : Declaring the variables as: ...

    Small update :

    Declaring the variables as:

    ledRED VAR WORD BANK0

    Does reduce the total delay somewhat, the shortest delay (0) now results in 20uS ..
  21. Replies
    22
    Views
    17,393

    Hi Jerson, I understand your questions, let me...

    Hi Jerson,

    I understand your questions, let me explain some more :

    I drive 3 powerled's directly from the mains using a led driver board. These led's are switched by FET's, each on it's own...
  22. Replies
    22
    Views
    17,393

    Google came up with an interesting piece of code....

    Google came up with an interesting piece of code.
    I did some tests and it seems to do the trick.

    If called using "@ wait 0" it delays 1uS,
    if called using "@ wait 1" it delays about 2,5uS,
    if...
  23. Replies
    22
    Views
    17,393

    You are right about the 1us. I'm using this to be...

    You are right about the 1us. I'm using this to be able to fade between colors.

    If I turn on the red led, wait 333uS, then turn on the green led, wait 333uS, and then the blue led and wait 333uS...
  24. Replies
    22
    Views
    17,393

    You are so right ! The thing is however, i...

    You are so right !

    The thing is however, i have tmr1 setup as a counter and i use its overflow to sync the whole program on 100hz.

    I have three different led's that are driven by fet's. Each...
  25. Replies
    22
    Views
    17,393

    Wow, Thanks. I'm gonna try this. Tried the...

    Wow, Thanks.

    I'm gonna try this. Tried the for..next just yet but it won't go below 5us delay.

    Jerson, i think this would do the trick, but i need to figure out how to let the software 'choose'...
Results 1 to 25 of 52
Page 1 of 3 1 2 3