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 12 matches
CCS Forum Index
Author Message
  Topic: SPI 16f877a + 16f876a
Ventouza

Replies: 6
Views: 14693

PostForum: General CCS C Discussion   Posted: Thu Feb 07, 2019 2:33 am   Subject: SPI 16f877a + 16f876a
Thanks for your tips, i have made all these changes that you suggest to me on the first message. A couple of questions now.
What's the difference between mode 0 and mode 1? I can't find on the manual ...
  Topic: SPI 16f877a + 16f876a
Ventouza

Replies: 6
Views: 14693

PostForum: General CCS C Discussion   Posted: Wed Feb 06, 2019 12:13 pm   Subject: SPI 16f877a + 16f876a
Tomorrow i want to test for the first time the communication between 16f877a and 16f876a with spi protocol. I want to be the 877a as master to check a push button and when this is happened i want to s ...
  Topic: Push button 16f877a
Ventouza

Replies: 2
Views: 8893

PostForum: General CCS C Discussion   Posted: Mon Feb 04, 2019 4:21 am   Subject: Push button 16f877a
Thanks a lot Ttelmah!
  Topic: Push button 16f877a
Ventouza

Replies: 2
Views: 8893

PostForum: General CCS C Discussion   Posted: Mon Feb 04, 2019 3:31 am   Subject: Push button 16f877a
Hi there,
i have written a simple program, when i press the button a led must be on!
But it doesn't, what am i doing wrong? I use the 5.008 version.
Here is the code:

#define btn1 PIN_ ...
  Topic: 16f628a + lcd
Ventouza

Replies: 12
Views: 31608

PostForum: General CCS C Discussion   Posted: Sun Sep 25, 2016 8:27 am   Subject: 16f628a + lcd
As a general slightly further comment, gets, is a routine that can have very significant problems.
As you have already had pointed out, it 'needs' the line feed terminator, but worse than this, there ...
  Topic: 16f628a + lcd
Ventouza

Replies: 12
Views: 31608

PostForum: General CCS C Discussion   Posted: Sun Sep 25, 2016 8:15 am   Subject: 16f628a + lcd
I'm not familiar with that program, but it looks like you should be able
to append a carriage return byte (13 or 0x0D) to the slider text that
is sent out.

Thanks PCM Programmer i add into the ph ...
  Topic: 16f628a + lcd
Ventouza

Replies: 12
Views: 31608

PostForum: General CCS C Discussion   Posted: Sat Sep 24, 2016 5:32 pm   Subject: 16f628a + lcd
http://s17.postimg.org/8bw2a4z67/attachment.png[url=http://postimage.org/]free photo hosting
  Topic: 16f628a + lcd
Ventouza

Replies: 12
Views: 31608

PostForum: General CCS C Discussion   Posted: Sat Sep 24, 2016 4:42 pm   Subject: 16f628a + lcd
I have built a simple program from MIT app inventor. I send 0 to 1023 from a slider bar.
http://www.hlektronika.gr/forum/attachment.php?attachmentid=66755&d=1474651036
What exactly i have to do? ...
  Topic: 16f628a + lcd
Ventouza

Replies: 12
Views: 31608

PostForum: General CCS C Discussion   Posted: Sat Sep 24, 2016 1:24 pm   Subject: 16f628a + lcd
Yes the system works i think because if i change the follow

char input_str[10]; -> char input_str;
gets(input_str); -> input_str = getc();
printf(lcd_putc," ...
  Topic: 16f628a + lcd
Ventouza

Replies: 12
Views: 31608

PostForum: General CCS C Discussion   Posted: Sat Sep 24, 2016 11:54 am   Subject: 16f628a + lcd
Hi there,

I'm trying to display a string into the lcd2x16 via Bluetooth HC-06. I use the pic 16f628a and the compiler version 5.008. But i have no success. Here is the code:

#include "16f6 ...
  Topic: Timer1 as counter.
Ventouza

Replies: 2
Views: 5112

PostForum: General CCS C Discussion   Posted: Mon Apr 21, 2014 8:19 am   Subject: Timer1 as counter.
Yes my pic is running but i found my crystal was gone.

So it was a hardware problem. Now with new crystal the program is running perfectly.

Thanks asmboy
  Topic: Timer1 as counter.
Ventouza

Replies: 2
Views: 5112

PostForum: General CCS C Discussion   Posted: Mon Apr 21, 2014 3:01 am   Subject: Timer1 as counter.
Hi there,
this is my first post so be patient.

I try to collect pulses through the RC0 gate but nothing happens.
The input pulses created from a button with a resistance in pull down connection. ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group