Author |
Message |
Topic: Using PLL of PIC18F4550 |
Abdulla M.A.
Replies: 6
Views: 13194
|
Forum: General CCS C Discussion Posted: Fri Jan 14, 2011 3:09 am Subject: Using PLL of PIC18F4550 |
That's meaning the max. frequency for PWM I can getting from 4550 with
crystal of 48MHZ is 12MHZ, is there any PIC can giving me more
frequencies???
thankx
Abdulla |
Topic: Using PLL of PIC18F4550 |
Abdulla M.A.
Replies: 6
Views: 13194
|
Forum: General CCS C Discussion Posted: Tue Jan 11, 2011 9:11 am Subject: Using PLL of PIC18F4550 |
Hi guys,
I would like to get a square wave of 40MHZ frequency from portb, pin0.
is this a correct program?? BTW, H4 option did not work with me.
#include <18f4550.h>
#use delay (clock= ... |
Topic: Getting char from computer and type it on GLCD (problem) |
Abdulla M.A.
Replies: 5
Views: 5273
|
Forum: General CCS C Discussion Posted: Fri Oct 22, 2010 7:43 am Subject: Getting char from computer and type it on GLCD (problem) |
Correct this.
text[1] = '\0'; // null terminate my single char making it a string
now, the program work fine.
if I just want to get the xt and yt from computer, I assumed I should
add the follo ... |
Topic: Getting char from computer and type it on GLCD (problem) |
Abdulla M.A.
Replies: 5
Views: 5273
|
Forum: General CCS C Discussion Posted: Fri Oct 22, 2010 5:22 am Subject: Getting char from computer and type it on GLCD (problem) |
I get the input as a string, I stored it in text array, nothing changed!!
gets(text);
glcd_text57(xt,yt,text[i],1,on);
I think glcd_text57 deal with char. because "Hello" message appea ... |
Topic: Getting char from computer and type it on GLCD (problem) |
Abdulla M.A.
Replies: 5
Views: 5273
|
Forum: General CCS C Discussion Posted: Fri Oct 22, 2010 12:29 am Subject: Getting char from computer and type it on GLCD (problem) |
Hi guys,
when I execute the program and start typing letters, nothing appear
on the GLCD, why???
#include <16f877a.h>
#use delay(clock=4000000)
#include <HDM64GS12.c>
#incl ... |
Topic: Problem with PWM |
Abdulla M.A.
Replies: 4
Views: 5458
|
Forum: General CCS C Discussion Posted: Thu Sep 23, 2010 1:28 pm Subject: Problem with PWM |
Thank you alot John for your help.
Abdulla |
Topic: Problem with PWM |
Abdulla M.A.
Replies: 4
Views: 5458
|
Forum: General CCS C Discussion Posted: Mon Sep 20, 2010 4:51 am Subject: Problem with PWM |
Yes, it became low after I made the duty cycle=0, and remove L_L
from the setup_ccp1(ccp_pwm1_l_l); but it's not pure low, it's about 0.7v. Thank you.
Can you tell me, why setup_pwm1(ccp_off); did ... |
Topic: Problem with PWM |
Abdulla M.A.
Replies: 4
Views: 5458
|
Forum: General CCS C Discussion Posted: Sun Sep 19, 2010 9:50 am Subject: Problem with PWM |
Hi guys,
If would like to remove the marks in the signal below, so what I have to
do???
http://i232.photobucket.com/albums/ee137/eced2008/untitled.jpg
my code:
#include <18f4550.h>
# ... |
Topic: HELP: Verify FAILED at data address 000h |
Abdulla M.A.
Replies: 4
Views: 6783
|
Forum: General CCS C Discussion Posted: Sun Aug 08, 2010 1:01 pm Subject: HELP: Verify FAILED at data address 000h |
http://sites.google.com/site/abdulla877/file-cabinet
File name:Winpicpgm
Abdulla |
Topic: HELP: Verify FAILED at data address 000h |
Abdulla M.A.
Replies: 4
Views: 6783
|
Forum: General CCS C Discussion Posted: Sun Aug 08, 2010 1:13 am Subject: HELP: Verify FAILED at data address 000h |
Use PICprog with JDM programmer, ICprog will not work with it.
Abdulla |
Topic: library glcd 128x64 KS0108 |
Abdulla M.A.
Replies: 1
Views: 5890
|
Forum: General CCS C Discussion Posted: Thu Jul 29, 2010 5:33 am Subject: library glcd 128x64 KS0108 |
You have to use graphics.c with HDM64GS12.c, i.e.
#include <HDM64GS12.c>
#include <graphics.c >
Abdulla |
Topic: Remote garage door opener |
Abdulla M.A.
Replies: 6
Views: 13203
|
Forum: General CCS C Discussion Posted: Sat Jul 17, 2010 11:59 am Subject: Remote garage door opener |
Check the circuit connection in the link below.
http://sites.google.com/site/abdulla877/about/pic-tutorials/auto-power-off-circuit
Abdulla |
Topic: Remote garage door opener |
Abdulla M.A.
Replies: 6
Views: 13203
|
Forum: General CCS C Discussion Posted: Sat Jul 17, 2010 4:21 am Subject: Remote garage door opener |
Notes:
1- your circuit will not work, because you did not connect pull-up
resistors to the keypad.
2- the 5v should connect to Mclr across 10k resistor
3- you need a current limiting resist ... |
Topic: pic16f877 and LCD (black squares ) |
Abdulla M.A.
Replies: 11
Views: 12641
|
Forum: General CCS C Discussion Posted: Sat Jul 17, 2010 4:16 am Subject: pic16f877 and LCD (black squares ) |
1- May be the problem was in the initialization of the LCD, there was no
enough time after set/clear "E" or "RS" to initialize the LCD.
2- Give an delay time after ---> lcd_ ... |
Topic: rand() function not working? |
Abdulla M.A.
Replies: 3
Views: 3573
|
Forum: General CCS C Discussion Posted: Thu Jul 08, 2010 10:23 am Subject: rand() function not working? |
Did you set the value of "seed" and initialized the random number
generator "srand"???
Abdulla |
|