Author |
Message |
Topic: Button command for CCS |
M.Yasser
Replies: 5
Views: 77128
|
Forum: Code Library Posted: Fri Jul 27, 2012 4:19 pm Subject: Button command for CCS |
Thank you PCM Programmer, you were very helpful |
Topic: Button command for CCS |
M.Yasser
Replies: 5
Views: 77128
|
Forum: Code Library Posted: Thu Jul 26, 2012 9:27 am Subject: Button command for CCS |
Hi PCM Programmer,
You were perfectly clear in your explanation. I appreciate it.
int8 button(int16 pin, int8 downstate, int8 delay,
int8 rate, int8 &BVar, int8 action)
1. ... |
Topic: Button command for CCS |
M.Yasser
Replies: 5
Views: 77128
|
Forum: Code Library Posted: Tue Jul 24, 2012 9:48 pm Subject: Button command for CCS |
Hi,
I’m trying to understand the mechanism of the Button function. What does the following Macro do?
#define read_bit_var(x) bit_test(*(int8 *)(x >> 3), x & ... |
Topic: interaction problem (CCP1 and CCP2) |
M.Yasser
Replies: 4
Views: 7043
|
Forum: General CCS C Discussion Posted: Mon Feb 13, 2012 11:56 am Subject: interaction problem (CCP1 and CCP2) |
Thank you Ttelmah,
Your explanation seems logical to me.
Regards. |
Topic: interaction problem (CCP1 and CCP2) |
M.Yasser
Replies: 4
Views: 7043
|
Forum: General CCS C Discussion Posted: Mon Feb 13, 2012 6:40 am Subject: interaction problem (CCP1 and CCP2) |
Hi PCM programmer,
Thank you for your fast and informative reply. You solved my problem
I’ve read section 9.3 of the data sheet, but I’m curious why the interaction happened? It’s supp ... |
Topic: interaction problem (CCP1 and CCP2) |
M.Yasser
Replies: 4
Views: 7043
|
Forum: General CCS C Discussion Posted: Sun Feb 12, 2012 5:40 pm Subject: interaction problem (CCP1 and CCP2) |
Hi,
I’m trying to control the width of a 2 PWM signals using potentiometers. One pot is connected to analog input AN0 and the other is connected to analog AN1 as shown in the schematic below.
I’ ... |
Topic: Driving Nokia3310 Lcd |
M.Yasser
Replies: 7
Views: 22387
|
Forum: General CCS C Discussion Posted: Sat Aug 06, 2011 12:38 pm Subject: Driving Nokia3310 Lcd |
Hi temtronic,
Your comment was very helpful;
Be aware that the 877 is a 5 volt device, the Nokia a 3.3 device so you WILL require logic level translation between the two.
I managed to get it work; ... |
Topic: Driving Nokia3310 Lcd |
M.Yasser
Replies: 7
Views: 22387
|
Forum: General CCS C Discussion Posted: Fri Aug 05, 2011 8:19 pm Subject: Driving Nokia3310 Lcd |
Hi temtronic,
Thank you for your fast reply. As far as I know fuses should be set in the part when it is programmed and it does not affect the compilation. However the project wizard takes care of th ... |
Topic: Driving Nokia3310 Lcd |
M.Yasser
Replies: 7
Views: 22387
|
Forum: General CCS C Discussion Posted: Fri Aug 05, 2011 4:08 pm Subject: Driving Nokia3310 Lcd |
Hi,
I’m trying to write a string on Nokia3310 Lcd with no success.
I’m using CCS C under MPLAB v8.73. The microcontroller I’m using is 16f877A.
As you can see in the figure I’m using proteu ... |
|