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 17 matches
CCS Forum Index
Author Message
  Topic: Can't display data in LCD when use interrupt
garen

Replies: 14
Views: 23808

PostForum: General CCS C Discussion   Posted: Sun Nov 15, 2015 12:21 pm   Subject: Can't display data in LCD when use interrupt
That so amazing. finally it have done when i use ccs 5.048, everything is ok with this version. and with this version,i recognize that no need to add more enable interrupts and disable interrupts,it s ...
  Topic: Can't display data in LCD when use interrupt
garen

Replies: 14
Views: 23808

PostForum: General CCS C Discussion   Posted: Sun Nov 15, 2015 10:54 am   Subject: Can't display data in LCD when use interrupt
that so terrible. Sad So what should i do now, come back to older version or use latest version. because in ccs5 have #use pwm which easy to use pwm.
  Topic: Can't display data in LCD when use interrupt
garen

Replies: 14
Views: 23808

PostForum: General CCS C Discussion   Posted: Sun Nov 15, 2015 10:41 am   Subject: Can't display data in LCD when use interrupt
i use ccs v5.011.
http://www.upsieutoc.com/images/2015/11/15/Untitledc4db1.th.png
#include <16f887.h>
#fuses hs,nowdt,nolvp,noprotect,put
#use delay(clock=16M)
#define LCD_RS_PIN ...
  Topic: Can't display data in LCD when use interrupt
garen

Replies: 14
Views: 23808

PostForum: General CCS C Discussion   Posted: Sun Nov 15, 2015 10:04 am   Subject: Can't display data in LCD when use interrupt
I was fix my code like your help, but if just have lcd_gotoxy(1,1);printf(lcd_putc,"%ldRPM",temp); lcd will show 700RPM
when i add more lcd_gotoxy(1,1);printf(lcd_putc,"Speed=%ldRPM&qu ...
  Topic: Can't display data in LCD when use interrupt
garen

Replies: 14
Views: 23808

PostForum: General CCS C Discussion   Posted: Sun Nov 15, 2015 9:01 am   Subject: Can't display data in LCD when use interrupt
i was rewrite my code according Ttelmah's advice. However i still face this problem. Beginning with get fulse from counter 1( counter of timer 1), no calculate, do nothing, just get fulse and show in ...
  Topic: Can't display data in LCD when use interrupt
garen

Replies: 14
Views: 23808

PostForum: General CCS C Discussion   Posted: Sun Nov 15, 2015 5:35 am   Subject: Can't display data in LCD when use interrupt
My motor is a encoder motor 334RPM (334 fulse for 1 round) and when i measure with full duty 100%, i see 700 fulse for 100mSec.

My purpose is get fulse immediately and read fulse every 100mSec to ...
  Topic: Can't display data in LCD when use interrupt
garen

Replies: 14
Views: 23808

PostForum: General CCS C Discussion   Posted: Sun Nov 15, 2015 12:56 am   Subject: Can't display data in LCD when use interrupt
i have ever thought use hardware on counter 1 for get fulse but if my main so long, PIC can't get fulse immediately and i can lose some fulse. Result will be wrong. So i decide to use interrupt to get ...
  Topic: Can't display data in LCD when use interrupt
garen

Replies: 14
Views: 23808

PostForum: General CCS C Discussion   Posted: Sat Nov 14, 2015 11:07 am   Subject: Can't display data in LCD when use interrupt
Hi everyone

i have a project with encoder motor, i have finished read encoder and show it in lcd. But i just write 3 command in main to show data ,when i write more than command , encorder seem not ...
  Topic: where can i find lib tft for 16f887
garen

Replies: 7
Views: 13766

PostForum: General CCS C Discussion   Posted: Wed Sep 23, 2015 5:08 am   Subject: where can i find lib tft for 16f887
I just need to create a simple icon in this tft, like a button, led, a simple HMI to control led instead of real button, or led, that so. But I don't have any document or tutorial about that except da ...
  Topic: where can i find lib tft for 16f887
garen

Replies: 7
Views: 13766

PostForum: General CCS C Discussion   Posted: Mon Sep 21, 2015 9:58 am   Subject: where can i find lib tft for 16f887
Do you have library for this tft use ili9341 and ads7843 in ccs.
  Topic: where can i find lib tft for 16f887
garen

Replies: 7
Views: 13766

PostForum: General CCS C Discussion   Posted: Mon Sep 21, 2015 8:24 am   Subject: where can i find lib tft for 16f887
Sorry to late, i quiet busy with my homework. Thank you so much for your comment.

My tft have 2 ic driver, IC Controller: ILI9341 and IC touch panel controller ADS7843. And this is a web which have ...
  Topic: where can i find lib tft for 16f887
garen

Replies: 7
Views: 13766

PostForum: General CCS C Discussion   Posted: Sat Sep 12, 2015 11:06 pm   Subject: where can i find lib tft for 16f887
Hi everyone
I have a project to connect pic 16f887 with tft, but it seems so difficult to me, i need a library tft. I just need tft touchscreen to show image from my pc and when i touch in tft then l ...
  Topic: can't handle string get from module sim900a
garen

Replies: 7
Views: 13176

PostForum: General CCS C Discussion   Posted: Sat Sep 05, 2015 2:05 am   Subject: can't handle string get from module sim900a
ok thank Ttelmah so much for your help, i understand now. Very Happy
  Topic: can't handle string get from module sim900a
garen

Replies: 7
Views: 13176

PostForum: General CCS C Discussion   Posted: Thu Sep 03, 2015 9:05 am   Subject: can't handle string get from module sim900a
Thank Ttelmah. your comment is very clearly, but just one thing i don't understand, if strstr() function just returns a first address of s2 in s1 ,why don't they return int8 instead of a pointer. i me ...
  Topic: can't handle string get from module sim900a
garen

Replies: 7
Views: 13176

PostForum: General CCS C Discussion   Posted: Tue Sep 01, 2015 11:40 pm   Subject: can't handle string get from module sim900a
Hi ezflyr

are you here? i saw code of user "Gabriel" but i don't understand this function char *strstr(s1,s2); i just know it is a function which find string s1 in s2 but i can't clearl ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group