Search found 246 matches

by Nandika
Sun Feb 17, 2013 7:17 pm
Forum: Embedded Systems
Topic: What is the suitable compiler?
Replies: 2
Views: 3678

What is the suitable compiler?

What is the suitable compiler for generate .hex file for this code? This has assembly level in Main Program some C based code in defining region. :roll: How to find suitable compiler? ; **** Encabezado(header) **** list p=16f628A ; list directive to define processor #include <p16f628A.inc> ; process...
by Nandika
Sun Feb 17, 2013 8:38 am
Forum: C/C++ Programming
Topic: Convert Float/Integer to Char[] ?
Replies: 6
Views: 10926

Re: Convert Float/Integer to Char[] ?

OK SemiconductorCat .... Thank you :clap:
Descriptive answer for me.
I understood about sprintf,printf and format string.
by Nandika
Sat Feb 16, 2013 11:18 pm
Forum: C/C++ Programming
Topic: Convert Float/Integer to Char[] ?
Replies: 6
Views: 10926

Re: Convert Float/Integer to Char[] ?

Thank you SemiconductorCat, Is this sprint doc? http://www.cplusplus.com/reference/cstdio/sprintf/ I must understand format string of C. http://www.cplusplus.com/reference/cstdio/printf/ Please describe "%f" ? What are you mean "environment" ? Is it about C compiler ? What is good Compiler for begin...
by Nandika
Sat Feb 16, 2013 10:20 pm
Forum: C/C++ Programming
Topic: Convert Float/Integer to Char[] ?
Replies: 6
Views: 10926

Convert Float/Integer to Char[] ?

I tried to convert some Float value to Char array.But,I couldn't do it.
Try using internet.But,Hard to understand that code. :(

Anyone help me to solve this problem in simply.
Please convert 123.45 float value to char[] as an example.

Thanks
by Nandika
Sat Feb 16, 2013 10:09 pm
Forum: Introductions
Topic: Vinoj Chamilka
Replies: 13
Views: 21081

Re: Vinoj Chamilka

Well done bro.
I wish you for your brilliant feature... :clap:
by Nandika
Sat Jan 26, 2013 8:51 am
Forum: C/C++ Programming
Topic: How to convert binary to BCD ?
Replies: 13
Views: 27735

Re: How to convert binary to BCD ?

Thank Saman

Completely clear all.. :)

Thank All friends...
:yahoo:
by Nandika
Fri Jan 25, 2013 9:51 pm
Forum: C/C++ Programming
Topic: How to convert binary to BCD ?
Replies: 13
Views: 27735

Re: How to convert binary to BCD ?

Thanks Saman and SemiconductorCat .... Now It's clear ... :D REP+ If integer is 22, BCD is, 2 - 0010 2 - 0010 0010 0010 When this number is returned as an integer, it is 34 .. :clap: Am I correct? OK Now I have another problem in Saman's last reply. :?: A 26-bit number can be represented with 4 byte...
by Nandika
Thu Jan 24, 2013 5:54 pm
Forum: C/C++ Programming
Topic: How to convert binary to BCD ?
Replies: 13
Views: 27735

Re: How to convert binary to BCD ?

Hi SemiconductorCat, I can't understand your coding. :( It's very sophisticated. :) My problem is ,How to represent a BCD as integer type ? this function do it. unsigned int i2bcd(unsigned int i) { unsigned int binaryShift = 1; unsigned int digit; unsigned int bcd = 0; while (i > 0) { digit = i % 10...
by Nandika
Tue Jan 22, 2013 4:33 pm
Forum: Embedded Systems
Topic: How to decode IR remote control signals with your PICkit 2
Replies: 4
Views: 8022

Re: How to decode IR remote control signals with your PICkit 2

Nice Work Rksk ... :biggrin: :biggrin: :biggrin:

Waiting for next post :)

Go to advanced search