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 38 matches
CCS Forum Index
Author Message
  Topic: interface pic24f with camera ov7670
talamahahahe

Replies: 1
Views: 5899

PostForum: General CCS C Discussion   Posted: Sat Sep 12, 2015 11:21 pm   Subject: interface pic24f with camera ov7670
I think pic 8-bit maybe slow to handle picture from my camera so i decide to choose pic 16-bit to connect with module camera ov7670 0.3mpx. But i search in ccs both of ccs driver and ccs example, I do ...
  Topic: How to get string with end character is '\n'
talamahahahe

Replies: 13
Views: 25403

PostForum: General CCS C Discussion   Posted: Sat Aug 22, 2015 1:52 am   Subject: How to get string with end character is '\n'
This is my complete code

#include <16f887.h>
#fuses hs,nowdt,nolvp,noprotect,put
#use delay(clock=16M)
#include <lib_lcd.c>
#use rs232(baud=9600,parity=N,xmit=pin_c6,rcv ...
  Topic: How to get string with end character is '\n'
talamahahahe

Replies: 13
Views: 25403

PostForum: General CCS C Discussion   Posted: Sat Aug 22, 2015 1:51 am   Subject: How to get string with end character is '\n'
Dear ezflyr.

I was try on your change. But it seem not different, My LCD get once time is good ,second time and after then ,it get data not right. This is my part and complete code.

this part is ...
  Topic: How to get string with end character is '\n'
talamahahahe

Replies: 13
Views: 25403

PostForum: General CCS C Discussion   Posted: Fri Aug 21, 2015 10:01 am   Subject: How to get string with end character is '\n'
I was try on this ex_sisr too and write program to get string with end char is '\n' ,i was success in get string with unknown length. But now , i can't send data to PC ,Maybe i was use so many for loo ...
  Topic: How to get string with end character is '\n'
talamahahahe

Replies: 13
Views: 25403

PostForum: General CCS C Discussion   Posted: Fri Aug 21, 2015 9:47 am   Subject: How to get string with end character is '\n'
Hi ezflyr
Thank you for your share,i appreciate it, i was use your code but i just get once time from PC, when i send second time, it seem not right ,my lcd 16x2 show trash

this is code in main ...
  Topic: How to get string with end character is '\n'
talamahahahe

Replies: 13
Views: 25403

PostForum: General CCS C Discussion   Posted: Fri Aug 21, 2015 6:06 am   Subject: How to get string with end character is '\n'
I understand now, thank you so much, kWoody_uk Very Happy I will continue study ex.sisr in ccs Smile. Oh i forget, one more question in the title, how can i get string with '\n' char end of string ? In ex_ ...
  Topic: How to get string with end character is '\n'
talamahahahe

Replies: 13
Views: 25403

PostForum: General CCS C Discussion   Posted: Fri Aug 21, 2015 3:10 am   Subject: How to get string with end character is '\n'
thank you so much kWoody_uk. Very Happy
But can you explain what different between my way and ccs's way get data. what advance CCS's way ?? because i see ex in ccs just get a 1 char but it's long and mo ...
  Topic: How to get string with end character is '\n'
talamahahahe

Replies: 13
Views: 25403

PostForum: General CCS C Discussion   Posted: Fri Aug 21, 2015 2:31 am   Subject: How to get string with end character is '\n'
in ex.sisr, i read on this line
next_in=(next_in+1) % BUFFER_SIZE;
but i don't understand what purpose it's? can you explain it for me. Thank Smile
  Topic: How to get string with end character is '\n'
talamahahahe

Replies: 13
Views: 25403

PostForum: General CCS C Discussion   Posted: Fri Aug 21, 2015 1:47 am   Subject: How to get string with end character is '\n'
Hi,
I use Rs232 to receive data from PC with terminal software. With this code below, i can get string which is limited 5 character, more than or least than will cause error and my lcd 16x2 get stri ...
  Topic: Can not receive data from slave
talamahahahe

Replies: 2
Views: 6539

PostForum: General CCS C Discussion   Posted: Fri Aug 14, 2015 12:28 pm   Subject: Can not receive data from slave
First thank for your comment.
When i just use 1 resistor between A B, it runs ok but when i use pull up and pull down, it not run. In driver rs485.c i was re-configure actually i was send and recei ...
  Topic: Can not receive data from slave
talamahahahe

Replies: 2
Views: 6539

PostForum: General CCS C Discussion   Posted: Fri Aug 14, 2015 10:31 am   Subject: Can not receive data from slave
i communicate rs485 with 2 PIC 16f887 in real board. Master send data to slave is OK but slave can not send data to master. Slave read temperater from ds18b20 and send data back to master . Both of si ...
  Topic: what is error ???
talamahahahe

Replies: 1
Views: 5552

PostForum: General CCS C Discussion   Posted: Tue Aug 04, 2015 10:40 pm   Subject: what is error ???
i meet this error when i try to create a file .c and add it into c:\program\picc\driver...How can i resolve it

http://www.upsieutoc.com/images/2015/08/05/aaa.png
  Topic: can not use #touchpad with pic 24FJ256GB106
talamahahahe

Replies: 7
Views: 10520

PostForum: General CCS C Discussion   Posted: Thu Jul 23, 2015 9:51 pm   Subject: can not use #touchpad with pic 24FJ256GB106
oh amazing, today i try one more and i's run, with schematic and code i was post. Thank Ttelmah so much,thank for your help. everthing run fine just one thing, it's not sensitive, if i want tochpad m ...
  Topic: can not use #touchpad with pic 24FJ256GB106
talamahahahe

Replies: 7
Views: 10520

PostForum: General CCS C Discussion   Posted: Thu Jul 23, 2015 8:49 pm   Subject: can not use #touchpad with pic 24FJ256GB106
But my pic just have a CTMU modul, so i need a #use touchpad for CTMU to implement touch pad because in ccs help says "This directive will tell the compiler to initialize and activate the Capacit ...
  Topic: can not use #touchpad with pic 24FJ256GB106
talamahahahe

Replies: 7
Views: 10520

PostForum: General CCS C Discussion   Posted: Thu Jul 23, 2015 11:24 am   Subject: can not use #touchpad with pic 24FJ256GB106
I was dowload ccs manual and see it,it look like a help in ccs ,i don't know where can i find it and what thing i must find to resolve my problem??
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group