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
Type: Posts; User: nuno106; Keyword(s):
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
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...
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.
...
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...
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...
Thanks everyone.
The major problem, was a pull down button RB0, that was not working correctly.
Thanks,
Nuno
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..."...
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 ...
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...
Hello,
My code is:
;##################################
DEFINE OSC 8
OSCCON = %01110000
ASM
__CONFIG _CONFIG1L, _PLLDIV_2_1L ; Divide by 2 (8 MHz oscillator input)
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
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 ...
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...
Hello,
I've tested with the Pic, but without luck, nothing happens...
Are this configurations correct?
Thanks,
Nuno
66286629
Yes, the warning disapears... Thanks
I'll try to program the chip and test it.
Thanks,
Nuno
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...
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
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