Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,700

    Re: I2CWrite Problem

    Hi Richard and thanks for the reply.

    The I2C_Address = I2C_Address +1 is only to show that 16 bits of data work when I2C_Address is equal to $78, in other cases, it don't work.

    Thanks,
    Nuno
  2. Replies
    6
    Views
    1,700

    I2CWrite Problem

    Hi everyone,

    I'm trying to send a simple 16 bits of data with the !2CWrite, but in Proteus I2C Debugger, i see the message separated.
    The odd thing is when the Device ID is $78, it works, with...
  3. Replies
    3
    Views
    15,110

    Re: 18F2550 With Problems

    Thanks for your answer mpgmike,

    I found the problem:

    For default, the XINST was On, and this change the extended instruction set.

    I change it to --> XINST_OFF, and everything works well.
    ...
  4. Replies
    3
    Views
    15,110

    18F2550 With Problems

    Hi everyone,

    I'm starting a small program with Pic 18F2550, but it doesn't work well...

    It should start with number 2 at Cnt_Lixo, and increment 1 every 1,5 seconds.

    Sometimes (one in...
  5. Replies
    3
    Views
    44,510

    Re: Police Siren like Barricade has?

    Hi everyone,

    I'm tring to produce an Alarm/Siren for a car alarm. I've tried with HPWM and Sound commands, but it's not so easy...

    There is some easy way to convert mp3/wav sound to Basic...
  6. Replies
    5
    Views
    6,165

    Re: Inicializing to Interrupt World

    Thanks everyone.

    The major problem, was a pull down button RB0, that was not working correctly.

    Thanks,
    Nuno
  7. Replies
    5
    Views
    6,165

    Re: Inicializing to Interrupt World

    Hello Mark and thanks for your answer, but it doesn't work...

    It happens the same thing, enter the first time, and after that, never enter in sleep again.

    I include the "On interrupt goto..."...
  8. Replies
    5
    Views
    6,165

    Inicializing to Interrupt World

    Hello Everyone,

    I'm trying to inicialize in programming with interrupts.

    I've read lots of posts and try to adapt my way.

    Here is my sample code (PIC 16F628A):

    Test1:
    Pause 500 ...
  9. Replies
    4
    Views
    2,537

    Re: Serout2 at 9600 problem

    Hello,

    Thank for your answers.

    I'm using a 18F2550. To verify the baud rate, i'm using the hyperterminal from windows.

    I think that my problem is in definition of the Pic, I not...
  10. Replies
    4
    Views
    2,537

    Serout2 at 9600 problem

    Hello,

    My code is:

    ;##################################
    DEFINE OSC 8
    OSCCON = %01110000

    ASM
    __CONFIG _CONFIG1L, _PLLDIV_2_1L ; Divide by 2 (8 MHz oscillator input)
  11. Replies
    49
    Views
    64,730

    Re: 18F2550 and Blink Led

    Hello,

    What a silly mistake... You are wright Darrel, i'm compiling always with the ICD Compile...

    Thanks for your help, it's solved.

    Thanks,
    Nuno
  12. Replies
    49
    Views
    64,730

    Re: 18F2550 and Blink Led

    Another thing is in ASM file (after compile), it starts with:

    #define CODE_SIZE 8
    #define MCS_STEP 73H
    #define MCS_DUMP 64H
    #define MCS_HANDSHAKE 68H ...
  13. Replies
    49
    Views
    64,730

    Re: 18F2550 and Blink Led

    Hello mackrackit,

    I don't know how pbp intalled there... i've intalled it a long time ago.

    I'm looking at the assembler code, and it loops at:

    CLRWDT --> Clear WTD...
  14. Replies
    49
    Views
    64,730

    Re: 18F2550 and Blink Led

    Hello,

    I've tested with the Pic, but without luck, nothing happens...

    Are this configurations correct?

    Thanks,
    Nuno

    66286629
  15. Replies
    49
    Views
    64,730

    Re: 18F2550 and Blink Led

    Yes, the warning disapears... Thanks

    I'll try to program the chip and test it.

    Thanks,
    Nuno
  16. Replies
    49
    Views
    64,730

    Re: 18F2550 and Blink Led

    Hello,

    Compiling it, gives me some Warnings "Found Directive in column 1.(_CONFIG), but it compile. At the oshon simulator, the same result, the pins of the microcontroller doesn't change at...
  17. Replies
    49
    Views
    64,730

    Re: 18F2550 and Blink Led

    Thanks mackrackit, I try it but the same result, the pins of the Pic doesn't change state. The oscilator is a 8MHz, MCSP 3.0.0.5 Pic Basic Pro 2.60A.

    Any idea??

    Thanks,
    Nuno
  18. Replies
    49
    Views
    64,730

    18F2550 and Blink Led

    Hello Everyone,

    I'm trying to configure a basic program into a 18F2550, but with no luck.

    I'm testing the code with a simulator, but nothing happens...

    Anyone could help?


    DEFINE OSC 8
Results 1 to 18 of 18