ASCII CODE DISPAY IN PIC16F690 – electroSome https://electrosome.com/topic/ascii-code-dispay-in-pic16f690-2/feed/ Sat, 18 Mar 2023 04:57:15 +0000 https://bbpress.org/?v=2.6.9 en-US https://electrosome.com/topic/ascii-code-dispay-in-pic16f690-2/#post-7550 <![CDATA[ASCII CODE DISPAY IN PIC16F690]]> https://electrosome.com/topic/ascii-code-dispay-in-pic16f690-2/#post-7550 Tue, 29 Oct 2013 09:25:13 +0000 shankar HELLO FRIEND,
I am shankar.I dont know how to display the ascii code in lcd.can you help me.Actually i want to display the numbers from 1 t0 1000 in lcd using pic16f690.

Thank You

]]>
https://electrosome.com/topic/ascii-code-dispay-in-pic16f690-2/#post-7553 <![CDATA[Reply To: ASCII CODE DISPAY IN PIC16F690]]> https://electrosome.com/topic/ascii-code-dispay-in-pic16f690-2/#post-7553 Tue, 29 Oct 2013 12:48:03 +0000 Ligo George Which compiler you are using???
If you are using MikroC Pro… there is a built in function IntToStr() use it..

If you are using other compiler… extract digit by digit… and display it…
for eg: 45 can be displayed by following method..
i = 45;
DisplayCharacter((i%10)+48);
i = i/10;
DisplayCharacter((i%10)+48);

Hope you got the logic..

]]>
https://electrosome.com/topic/ascii-code-dispay-in-pic16f690-2/#post-7555 <![CDATA[Reply To: ASCII CODE DISPAY IN PIC16F690]]> https://electrosome.com/topic/ascii-code-dispay-in-pic16f690-2/#post-7555 Tue, 29 Oct 2013 12:50:20 +0000 Ligo George Where 48 is the ACII corresponds to 0
0 >> 48
1 >> 49
2 >> 50
etc..

]]>
https://electrosome.com/topic/ascii-code-dispay-in-pic16f690-2/#post-7564 <![CDATA[Reply To: ASCII CODE DISPAY IN PIC16F690]]> https://electrosome.com/topic/ascii-code-dispay-in-pic16f690-2/#post-7564 Thu, 31 Oct 2013 10:00:03 +0000 shankar I am using the mikro c pro.i think now i get an idea about displaying the ascii codes.

]]>