Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds; generated 40 minute(s) ago.

  1. Replies
    4
    Views
    5,436

    Re: Communication using a Bluetooth module

    The HC-06 module (if you have the backplane with it too) has a state output...
    This output toggles on and off when not paired and is solid on if it it...
    So, you can write a routing that looks to...
  2. Replies
    13
    Views
    6,596

    Re: PBP 2.6C assembler

    Thats wonderful... I think that's everything i was missing...

    However why does the pic18 lib and macro's have bank checking routines when, according to the data-sheet the ram and program memory...
  3. Replies
    13
    Views
    6,596

    Re: PBP 2.6C assembler

    Henrik, i already looked... It's not in the MAC file...
    It looks like it's embedded into PBP... which is not helpful...
  4. Replies
    13
    Views
    6,596

    Re: PBP 2.6C assembler

    ok, nope i'm lost again...

    The macro for CMPGT?WCL is...




    CMPGT?WCL macro Win, Cin, Label
    if ((Cin) < 0)
    L?GOTO Label
  5. Replies
    13
    Views
    6,596

    Re: PBP 2.6C assembler

    never mind... i just realised some of these commands are actually macros... thats why i can't find them...
  6. Replies
    13
    Views
    6,596

    Re: PBP 2.6C assembler

    PIC is 18F46K22 @ 64MHz...
    Compiler is MPASM...

    Basically, i'm looking into an asm piece of coding to create correct timings for the WS2812B LEDs...
    When i used PBP to spit out the wave form...
  7. Replies
    13
    Views
    6,596

    Re: PBP 2.6C assembler

    yep, the pbp manual does indeed tell me how to include assembler in my code...
    However, it does not tell me what opcodes the assembler is using...
  8. Replies
    13
    Views
    6,596

    PBP 2.6C assembler

    ok, I think I'm needing to write stuff in assembler now due to timing issues.
    However, when i open the ASM file for what i have already written, some of the mnemonics / Operands are not the standard...
  9. Replies
    6
    Views
    20,100

    Re: PIC to WS2812B / WS2811 IC

    Each chip is current limited to ~19mA per channel... and there is 3 channels...
  10. Replies
    24
    Views
    50,720

    Re: Addressable RGB LED's & LED strips

    SPCW pointed this thread out to me on mine, so, i'll fetch what i've got over here...

    I purchased 10 of the little chips off ebay. Becarefull with the chips when soldering them as they are...
  11. Replies
    6
    Views
    20,100

    PIC to WS2812B / WS2811 IC

    Im sure people have seen the WS2812 and WS2812B's on youtube and ebay.
    They are a tri colour LED with built in constant current controller chip.

    The arduino community is all over them but I've...
  12. Replies
    9
    Views
    5,977

    Re: Interupt driven servo PWM output

    ok, here is the full code... i didn't think the top bit was necessary...
  13. Replies
    8
    Views
    4,576

    Re: Stopping at 3 minutes!!!

    norm, i agree, no return for the gosubs...
  14. Replies
    9
    Views
    5,977

    Re: Interupt driven servo PWM output

    Mark, Thank you for the reply.
    perhaps i should have explained more.
    I'm using DT's interupts. SERVO_HANDLER is jumped to whenever TMR0 overflows and interrupts.

    The endif's after the @...
  15. Re: Advise on network/socket programming on my PC

    Linux my be a better choice...
    It may be more learning and not quite as easy, but it'll be far more stable and your also able to communicate with MySQL too...
  16. Replies
    1
    Views
    5,131

    Re: Question for IT people

    Hi Tina,
    I'm going to need a little more information when you say 'outside'...
    You say your android pad and pic are both on wifi... but then you say you need a static IP...
    If you are still within...
  17. Replies
    9
    Views
    5,977

    Re: Interupt driven servo PWM output

    Okay, this is worrying... Since no one has said anything that would indicate i havn't make a mistake...
    So the question is why is it not doing what it should...
  18. Replies
    4
    Views
    3,647

    Re: Wire guide & H-bridge control

    well, according to the datasheet the A1302 should work fine for your application.
    5V only though, but it's linear 1.3 mV/G so for every 1.3mV on its output you have 1 gauss... if you used a 4V...
  19. Replies
    4
    Views
    3,647

    Re: Wire guide & H-bridge control

    Hi RFsolution,
    With line following robots, they have inputs from both (or all) sensors so that they know if they are way too far over.

    From your description you have 4 distinct zones of control....
  20. Re: Can you use the same pin as input/output and control led load?

    I believe most pic16's and PIC18's have a 20mA source or sink limit so a resistor on the pin would not be required.
    So FromTheCockpit's diagram above will work, though you will not get 5V to feed...
  21. Replies
    9
    Views
    5,977

    Interupt driven servo PWM output

    18F46K22 PBP2.6C

    Ok, wanting to command a servo... but, want to use interupts so that the pic can do other things and/or drive multiple servo's...

    So, first of all, i started off doing it with...
  22. Replies
    4
    Views
    3,630

    Re: 18F46K22 HPWM blips and errors

    Henrik,
    I agree with you that it must be the HPWM command that is causing the blips since the 46K22 has a buffered PWM.
    However, as you can see from the source code, i do most things by setting the...
  23. Replies
    4
    Views
    3,630

    18F46K22 HPWM blips and errors

    hi guys...
    I've been trying to figure this out all weekend and I'm stumped...
    I have a project that I'm doing for my sisters birthday. It uses all 5 hardware PWM on the 18F46K22.
    However, i...
  24. Re: 18F87J50 - is there a typo in the .info file/MeLabs software or do I need sleep?

    can you post your configuration header, just incase you have a typo or something...
  25. Replies
    2
    Views
    3,433

    PBP and DT_INTs problems

    I'm not sure how many issues i actually have here but i'll list the symptoms...

    1) MCS compiles PBP files and then says cancelled once it's complete (i turned silent off so i KNOW it completed...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4