Author |
Message |
Topic: lcd 2x16 interfacing need pull up? |
omid_juve
Replies: 3
Views: 4962
|
Forum: General CCS C Discussion Posted: Thu Nov 08, 2012 1:13 pm Subject: lcd 2x16 interfacing need pull up? |
plz check my pic is 16f1947 and this the config of lcd pin
#define LCD_DB4 PIN_D3
#define LCD_DB5 PIN_D2
#define LCD_DB6 PIN_D1
#define LCD_DB7 PIN_D0
#define LCD_E PIN_E3
# ... |
Topic: lcd 2x16 interfacing need pull up? |
omid_juve
Replies: 3
Views: 4962
|
Forum: General CCS C Discussion Posted: Thu Nov 08, 2012 12:26 pm Subject: lcd 2x16 interfacing need pull up? |
I write a program for my pic, it`s work fine with Proteus but when i test it in real hardware it`s just show a black line on first line of the lcd display.
Does it need a pull up resistor? |
Topic: Simple division math error using float number??? |
omid_juve
Replies: 2
Views: 5002
|
Forum: General CCS C Discussion Posted: Thu Nov 08, 2012 10:35 am Subject: Simple division math error using float number??? |
Thanks it`s ok now |
Topic: Simple division math error using float number??? |
omid_juve
Replies: 2
Views: 5002
|
Forum: General CCS C Discussion Posted: Thu Nov 08, 2012 10:01 am Subject: Simple division math error using float number??? |
hi
plz check this simple code
float ff1;
int8 open=60;
ff1=open/100;
The result sould be 0.6 but it is 0.000 Why ??
pcm version is 4.13
plz help me |
Topic: problem with flex_kbd ??? |
omid_juve
Replies: 2
Views: 5272
|
Forum: General CCS C Discussion Posted: Tue Oct 30, 2012 8:52 am Subject: problem with flex_kbd ??? |
dear sir
Please read my easy program. I want to show a key pressed by keypad
on lcd with flex_kbd.c but it doesn't write anything. But when i use kbd.c driver and put the keypad on PortB everything ... |
Topic: Internal reference using for adc? |
omid_juve
Replies: 7
Views: 11899
|
Forum: General CCS C Discussion Posted: Thu Oct 25, 2012 1:02 pm Subject: Internal reference using for adc? |
Thanks to all of you that help me.
Finally I made it.
See the code below for your ref.
#byte fvrcon=0x117
fvrcon=0b10000010;
setup_adc_ports(sAN0|sAN1|sAN2|sAN3|sAN4,VSS_FVR,);
|
Topic: Internal reference using for adc? |
omid_juve
Replies: 7
Views: 11899
|
Forum: General CCS C Discussion Posted: Thu Oct 25, 2012 4:47 am Subject: Internal reference using for adc? |
First thing, don't use INT_AD. INT_AD, is only wanted, when you have something else triggering the ADC (CCP for example), or you use sleep for the conversion (it will then allow you to wake). Otherwis ... |
Topic: Internal reference using for adc? |
omid_juve
Replies: 7
Views: 11899
|
Forum: General CCS C Discussion Posted: Thu Oct 25, 2012 1:35 am Subject: Internal reference using for adc? |
I am becoming so confused why my code is not working. I want to use internal vref 2.048v as a reference for my adc conversion but it doesn't work.
Please see my setup to see if it is correct.
#int ... |
|