Author |
Message |
Topic: how to printf the remainder ? |
johnpoo
Replies: 2
Views: 3345
|
Forum: General CCS C Discussion Posted: Thu Apr 15, 2010 9:50 pm Subject: how to printf the remainder ? |
Actually I want to do a decimal to binary program.
Thanks |
Topic: how to printf the remainder ? |
johnpoo
Replies: 2
Views: 3345
|
Forum: General CCS C Discussion Posted: Thu Apr 15, 2010 9:31 pm Subject: how to printf the remainder ? |
How can I printf the result of the modulus operator?
#include <16F877.h>
#use delay(clock=20000000)
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7)
#fuses HS,NOWDT,NOPROTECT ... |
Topic: RS232 (bits) |
johnpoo
Replies: 7
Views: 7486
|
Forum: General CCS C Discussion Posted: Wed Apr 14, 2010 2:13 am Subject: RS232 (bits) |
Thank you very much ... |
Topic: RS232 (bits) |
johnpoo
Replies: 7
Views: 7486
|
Forum: General CCS C Discussion Posted: Wed Apr 14, 2010 1:24 am Subject: RS232 (bits) |
Thanks .. I have read through the link.
Want to confirm that the "bits" that we can set is maximum 8? or I want to set it as bits = 24 also can ? |
Topic: RS232 (bits) |
johnpoo
Replies: 7
Views: 7486
|
Forum: General CCS C Discussion Posted: Tue Apr 13, 2010 7:15 am Subject: RS232 (bits) |
Does anyone know what is the meaning of "bits=8" in this code below ?
#use rs232(baud=9600, xmit = PIN_C6, rcv = PIN_C7, parity = N, bits = 8)
Thanks. |
Topic: Driver for AD7710 |
johnpoo
Replies: 6
Views: 63765
|
Forum: Code Library Posted: Fri Apr 02, 2010 12:23 am Subject: Driver for AD7710 |
Hi iqdamn
I tried your program, but there is a problem. I cannot calibrate the AD7710.
?
Help needed. |
Topic: help on programming |
johnpoo
Replies: 5
Views: 5436
|
Forum: General CCS C Discussion Posted: Tue Mar 30, 2010 10:08 pm Subject: help on programming |
Thanks, I think I understand from your explanation.
Another question here, How can I show the result on my PC console or the terminal window? |
Topic: help on programming |
johnpoo
Replies: 5
Views: 5436
|
Forum: General CCS C Discussion Posted: Tue Mar 30, 2010 12:49 am Subject: help on programming |
oh.. thanks a lot . how about i want to do serial communication ? same program apply ? |
Topic: help on programming |
johnpoo
Replies: 5
Views: 5436
|
Forum: General CCS C Discussion Posted: Mon Mar 29, 2010 10:02 pm Subject: help on programming |
#include <16F877.h>
#use delay(clock=20000000)
#pragma use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7)
#fuses HS,NOWDT,NOPROTECT,NOBROWNOUT,PUT
unsigned char c;
unsigned ch ... |
|