Author |
Message |
Topic: calculate frequency!!! |
thiam
Replies: 2
Views: 4036
|
Forum: General CCS C Discussion Posted: Thu Apr 22, 2010 12:19 am Subject: calculate frequency!!! |
thank you so much.. |
Topic: calculate frequency!!! |
thiam
Replies: 2
Views: 4036
|
Forum: General CCS C Discussion Posted: Wed Apr 21, 2010 11:43 pm Subject: calculate frequency!!! |
Hi, how to calculate the frequency from the timer??
setup_timer_2(T2_DIV_BY_16, 127, 1);
from the code above, how much the frequency for the timer with 20Mhz clock??? |
Topic: #byte and #bit |
thiam
Replies: 4
Views: 8707
|
Forum: General CCS C Discussion Posted: Sat Apr 10, 2010 8:59 pm Subject: #byte and #bit |
What is difference between #bit and #byte ? |
Topic: have trouble with PIC18F4331 in receive signal from encoder |
thiam
Replies: 0
Views: 3219
|
Forum: General CCS C Discussion Posted: Fri Apr 09, 2010 7:29 am Subject: have trouble with PIC18F4331 in receive signal from encoder |
hi, I have a trouble in develop PIC18F4331 in receive signal from rotary encoder. The channel phase A and B are used only. Below is the sample code and circuit for PIC16F877A which has build external ... |
Topic: Do anyone know the coding for UC00A UART-USB Converter? |
thiam
Replies: 14
Views: 15317
|
Forum: General CCS C Discussion Posted: Wed Apr 07, 2010 2:11 am Subject: Do anyone know the coding for UC00A UART-USB Converter? |
ok.. never mind... any way.. thank you so much |
Topic: Do anyone know the coding for UC00A UART-USB Converter? |
thiam
Replies: 14
Views: 15317
|
Forum: General CCS C Discussion Posted: Wed Apr 07, 2010 12:17 am Subject: Do anyone know the coding for UC00A UART-USB Converter? |
Regarding to the port number, I have check and change. I have read the user manual. However, they just guide us to connect the UC00A to microcontroller. I have tried the code again after changing ever ... |
Topic: Do anyone know the coding for UC00A UART-USB Converter? |
thiam
Replies: 14
Views: 15317
|
Forum: General CCS C Discussion Posted: Tue Apr 06, 2010 10:05 pm Subject: Do anyone know the coding for UC00A UART-USB Converter? |
Thanks for your advice and codes. I have tried for both codes. With serial port, the code with kbhit() has no problem, but the another code can't run. However, both of the codes cannot run by using UC ... |
Topic: Do anyone know the coding for UC00A UART-USB Converter? |
thiam
Replies: 14
Views: 15317
|
Forum: General CCS C Discussion Posted: Tue Apr 06, 2010 6:39 pm Subject: Do anyone know the coding for UC00A UART-USB Converter? |
The OS I'm using is Windows XP. Then I need to communicate the PIC with my computer by using that device. Since I have tried the Serial port RS232, the communicate between PIC and my PC is function we ... |
Topic: Do anyone know the coding for UC00A UART-USB Converter? |
thiam
Replies: 14
Views: 15317
|
Forum: General CCS C Discussion Posted: Tue Apr 06, 2010 11:40 am Subject: Do anyone know the coding for UC00A UART-USB Converter? |
Hi, I have no idea for the coding of UC00A UART-USB Converter.
the device can be bought from Cytron.. for more information about the device, pls refer to the website below.
http://www.cytron.com.my ... |
Topic: problem with send and transmit data by using serial port |
thiam
Replies: 7
Views: 7268
|
Forum: General CCS C Discussion Posted: Tue Apr 06, 2010 11:32 am Subject: problem with send and transmit data by using serial port |
thanks guys... finally i have done.. the problem is the baud rate and the hardware... thanks |
Topic: problem with send and transmit data by using serial port |
thiam
Replies: 7
Views: 7268
|
Forum: General CCS C Discussion Posted: Tue Apr 06, 2010 10:13 am Subject: problem with send and transmit data by using serial port |
Thanks for you all. I have corrected the code and changed the baud rate to 9600. About the hardware, I use UC00A which is USB-UART converter from Cytron. I have tried the code again but still have the ... |
Topic: problem with send and transmit data by using serial port |
thiam
Replies: 7
Views: 7268
|
Forum: General CCS C Discussion Posted: Tue Apr 06, 2010 8:56 am Subject: problem with send and transmit data by using serial port |
i have try the code but still have the problem... ... what wrong with the code?? anyone pls help me?? |
Topic: problem with send and transmit data by using serial port |
thiam
Replies: 7
Views: 7268
|
Forum: General CCS C Discussion Posted: Tue Apr 06, 2010 1:44 am Subject: problem with send and transmit data by using serial port |
HI, I'm a new user for CCS compiler. Can anyone can check the following code? Why the PIN_B6 can't be turned on although I have sent the char "1" from my computer to PIC?? Anyone can guide m ... |
|