CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 7 matches
CCS Forum Index
Author Message
  Topic: Can the difference between two unsigned int16 be negative?
shahrokh_m

Replies: 13
Views: 29069

PostForum: General CCS C Discussion   Posted: Sat Feb 04, 2017 1:02 am   Subject: Can the difference between two unsigned int16 be negative?
The problem was solved with your help.
Infinitely grateful for your kindness. Smile
  Topic: Can the difference between two unsigned int16 be negative?
shahrokh_m

Replies: 13
Views: 29069

PostForum: General CCS C Discussion   Posted: Sat Feb 04, 2017 12:13 am   Subject: Can the difference between two unsigned int16 be negative?
Thanks a lot.
according the link, second "else if" executed, so the last "else if" does not work.
  Topic: Can the difference between two unsigned int16 be negative?
shahrokh_m

Replies: 13
Views: 29069

PostForum: General CCS C Discussion   Posted: Fri Feb 03, 2017 10:40 pm   Subject: Can the difference between two unsigned int16 be negative?
Hi friends.
I have same question.
In this code, last else if condition is never run. Why?

signed int16 delta;

delta = sensor[1] - sensor[2];

if(20 < delta) { ...
  Topic: working with 16x2 LCD
shahrokh_m

Replies: 10
Views: 24766

PostForum: General CCS C Discussion   Posted: Sun Sep 14, 2014 1:13 pm   Subject: working with 16x2 LCD
Finally i can.... Smile
Thank you my dear friends.
Below code can preview custom character on LCD 2x16, just with "LCD.C" library!!


#include <lcd.c>

#define LCD_ENABLE_PIN PIN ...
  Topic: working with 16x2 LCD
shahrokh_m

Replies: 10
Views: 24766

PostForum: General CCS C Discussion   Posted: Sun Sep 14, 2014 12:43 am   Subject: working with 16x2 LCD
I guess you don't want to use the Search page. I'll do it for you.
http://www.ccsinfo.com/forum/viewtopic.php?t=40565

Dear friend, Thank you for your kindness, i use the Search page, but i can't ...
  Topic: working with 16x2 LCD
shahrokh_m

Replies: 10
Views: 24766

PostForum: General CCS C Discussion   Posted: Sat Sep 13, 2014 3:52 pm   Subject: working with 16x2 LCD
super simple to create 'custom characters'
0) Do NOT 'hijack another's thread...it's bad form

1) Download the datasheet for your LCD module

2) read the chapter they have on creating custom char ...
  Topic: working with 16x2 LCD
shahrokh_m

Replies: 10
Views: 24766

PostForum: General CCS C Discussion   Posted: Sat Sep 13, 2014 5:56 am   Subject: working with 16x2 LCD
Hi,
I want to print custom character on LCD 2x16 with LCD.c lib. please help me...
Crying or Very sad
thanks
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group