Author |
Message |
Topic: autoindexing |
lboghy
Replies: 4
Views: 11946
|
Forum: General CCS C Discussion Posted: Wed Jan 10, 2018 2:07 am Subject: autoindexing |
Thank you very much. I will try and inform you.
Regards. |
Topic: autoindexing |
lboghy
Replies: 4
Views: 11946
|
Forum: General CCS C Discussion Posted: Fri Jan 05, 2018 12:29 pm Subject: autoindexing |
Hello!
Is some one that knows how can be done an autoindexing at each programing?
For example is a simple code that has the serial on two unsigned chars 00 and 01.
Can be done with Pickit3 that at ... |
Topic: em4305 card writing |
lboghy
Replies: 1
Views: 7172
|
Forum: General CCS C Discussion Posted: Sun Apr 03, 2016 8:33 am Subject: em4305 card writing |
Hello,
On a pic18f2520 with 20M quartz I'm reading EM4100 (Manchester RF/64) cards by em4095 chip.
Also the read of EM4305 is working OK. Now, on the pin MODE I must write word5, word6 and word7 ... |
Topic: how to use serial without #use rs232 |
lboghy
Replies: 7
Views: 13098
|
Forum: General CCS C Discussion Posted: Sat Sep 01, 2012 6:32 am Subject: how to use serial without #use rs232 |
Ok, here is the code,
On .c file:
TRISC = 0XC0; // sets the RC6 as input
if (JMP4)
{
WF_TYPE = SWITCH_WF;
}
else
{
WF_TYPE = THERMO_WF;
... |
Topic: how to use serial without #use rs232 |
lboghy
Replies: 7
Views: 13098
|
Forum: General CCS C Discussion Posted: Sat Sep 01, 2012 4:56 am Subject: not work |
Hello!
thank you for responses.
I used:
setup_uart(0);
TRISC = 0XC0; // sets the RC6 as input
if (JMP4)
{
WF_TYPE = SWITCH_WF;
}
else ... |
Topic: how to use serial without #use rs232 |
lboghy
Replies: 7
Views: 13098
|
Forum: General CCS C Discussion Posted: Sat Sep 01, 2012 4:10 am Subject: how to use serial without #use rs232 |
Hello,
I'm using a PIC18f25k20 and I want that RC6 (TX HW pin) to be at initialisation an input. I connected 100kohm to VDD and a 10kohms to ground. If 10 kohms is connected to ground that means th ... |
Topic: mt8870 |
lboghy
Replies: 5
Views: 8160
|
Forum: General CCS C Discussion Posted: Fri Jul 13, 2012 5:37 am Subject: mt8870 |
Hi,
I want to use MT8870 IC to decode DTMF tones. This circuit need 3.5795MHz XTAL. This signal can be generated by PWM of a micro?
I want to use PIC18F25k20.
Thank you. |
Topic: pic16lf1939 lcd internal driver and PWM |
lboghy
Replies: 1
Views: 3375
|
Forum: General CCS C Discussion Posted: Sun Jun 17, 2012 4:33 pm Subject: pic16lf1939 lcd internal driver and PWM |
Hello
Can someone help me to use internal lcd driver to control an lcd and to use also pwm output of ccp2 to command a buzzer.
I tried to use Timer2 or Timer4 but no result. When I have included: se ... |
Topic: Bacnet protocol |
lboghy
Replies: 1
Views: 3817
|
Forum: General CCS C Discussion Posted: Tue Dec 06, 2011 1:15 am Subject: Bacnet protocol |
Hello,
I want to use PIC18F25k20 for interfacing a temperature sensor (which is read from an analog channel) for BACNET protocol (instead of Modbus protocol).
Could someone give me an idea or exampl ... |
Topic: low current consumption problem |
lboghy
Replies: 2
Views: 4449
|
Forum: General CCS C Discussion Posted: Wed Sep 28, 2011 2:26 pm Subject: Problem solved |
Dear PCM,
Thank you for your prompt response.
Is working, the power consumption is less 40 times using low oscillator frequnecy. |
Topic: low current consumption problem |
lboghy
Replies: 2
Views: 4449
|
Forum: General CCS C Discussion Posted: Tue Sep 27, 2011 1:35 pm Subject: low current consumption problem |
Hello!
I tried to reduce the power consumption on 16f1939 microcontroller.
First I tried to use sleep function and wake-up using interrupt on change on falling edge:
#BYTE INTCON = 0x00B
#BIT GI ... |
Topic: i2c speed |
lboghy
Replies: 1
Views: 4780
|
Forum: General CCS C Discussion Posted: Wed Sep 21, 2011 4:18 am Subject: i2c speed |
Hello.
I want to use i2c routine with a speed lower than 100KHz. Can this be done with #use i2c?
Ihave now:
#use i2c(Master,SLOW,sda=PIN_C4,scl=PIN_C3,restart_wdt,force_hw) |
Topic: fvrbuffer1 error reading |
lboghy
Replies: 2
Views: 4571
|
Forum: General CCS C Discussion Posted: Wed Sep 07, 2011 10:52 am Subject: SOLVED |
Dear Temtronic,
Yes, I did not put the entire code.
Meanwhile I found the mistake.
I did not made the correct assignation. Now is working.
If some one wants to read the internal reference here i ... |
Topic: fvrbuffer1 error reading |
lboghy
Replies: 2
Views: 4571
|
Forum: General CCS C Discussion Posted: Tue Sep 06, 2011 11:10 pm Subject: fvrbuffer1 error reading |
Hello
I'm using a pic16f1939 and I want to read the internal voltage reference using adc but always adresh and adresl is 00.
Can someone help me?
FVREN = 1; ADFVR1 = 0; ADFVR0 = 1;
CHS4 = ... |
Topic: sleep mode |
lboghy
Replies: 0
Views: 2589
|
Forum: General CCS C Discussion Posted: Thu Aug 25, 2011 3:11 am Subject: sleep mode |
hello
I have a pic16f1939 with an lcd and a keypad and I want to power up by 2 batteries of 1.5volts. I think that should be used with the sleep mode but I never use it. Can someone give me an idea?
... |
|