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: Problem with if-else condition...
Somor

Replies: 2
Views: 6826

PostForum: General CCS C Discussion   Posted: Fri May 29, 2015 8:42 am   Subject: Problem with if-else condition...
#include <keycode test.h>

int key[4]={3,7,0,1};
int pressed[4]={0,0,0,0};
int column=0;
int row=10;
int num=0;

void out()
{
if ( ...
  Topic: KeyCode door problem - PIC16F628a
Somor

Replies: 6
Views: 10482

PostForum: General CCS C Discussion   Posted: Fri Apr 10, 2015 4:22 pm   Subject: KeyCode door problem - PIC16F628a
A3 on the scheme i uploaded is not connect RA0 --> A1 ; RA1 -->B1 ; RA2--> Enable, however RA3 I connect with Demultiplexer's VDD.
So if i want to keep that demultiplexer if I put diodes on ...
  Topic: KeyCode door problem - PIC16F628a
Somor

Replies: 6
Views: 10482

PostForum: General CCS C Discussion   Posted: Fri Apr 10, 2015 12:55 pm   Subject: KeyCode door problem - PIC16F628a
Every SW presents one digit of the key combination. SW1 presents first digit, sw 2 second and so on.
On each SW only one switch is enabled, i.e SW1 - 9 is ON SW 2 - 4 ON, SW3 - 5 ON, SW4, 1 ON

So ...
  Topic: KeyCode door problem - PIC16F628a
Somor

Replies: 6
Views: 10482

PostForum: General CCS C Discussion   Posted: Fri Apr 10, 2015 11:46 am   Subject: KeyCode door problem - PIC16F628a
If you turn the enable pin HIGH, than you have on the Outputs High state, that means on PORTB pins you will receive HIGH state and you can/will mess up the keypad things.
PIN A3 is connected to the p ...
  Topic: KeyCode door problem - PIC16F628a
Somor

Replies: 6
Views: 10482

PostForum: General CCS C Discussion   Posted: Fri Apr 10, 2015 10:43 am   Subject: KeyCode door problem - PIC16F628a
I'm trying to make KeyCode door with key that is chosen manually with DIP-Switches - 9.
Here is the scheme of my project:
http://imagizer.imageshack.us/a/img673/7744/QyOV6M.png

With 4 pieces of ...
  Topic: How to transfer 8bit integer to a single pin bit by bit...
Somor

Replies: 8
Views: 11898

PostForum: General CCS C Discussion   Posted: Wed Apr 08, 2015 1:41 pm   Subject: How to transfer 8bit integer to a single pin bit by bit...
Thank you very much!
  Topic: How to transfer 8bit integer to a single pin bit by bit...
Somor

Replies: 8
Views: 11898

PostForum: General CCS C Discussion   Posted: Wed Apr 08, 2015 9:22 am   Subject: How to transfer 8bit integer to a single pin bit by bit...
The idea is if I'm using shift register, like 74hc4049 using D input of shift register for input 0 or 1 and clock input for the new bit... i want to collect whole byte before I enable the Strobe, so ...
  Topic: How to transfer 8bit integer to a single pin bit by bit...
Somor

Replies: 8
Views: 11898

PostForum: General CCS C Discussion   Posted: Wed Apr 08, 2015 4:28 am   Subject: How to transfer 8bit integer to a single pin bit by bit...
Well, i have a question that i can't figure out... I have an 8bit integer for example:
int8 a = 10;
i want that integer to transfer to a PIN_B7 using output function bit by bit
So if my integer a i ...
  Topic: Problem with PIC16F628A program
Somor

Replies: 6
Views: 10925

PostForum: General CCS C Discussion   Posted: Sun Dec 21, 2014 5:52 am   Subject: Problem with PIC16F628A program
Sorry for the double post, but i want to be sure you will read it.
So i put 150 ohms resistor on the pic outputs and everything works, even with my suggested code.
Thank you a lot guys, i even ask ...
  Topic: Problem with PIC16F628A program
Somor

Replies: 6
Views: 10925

PostForum: General CCS C Discussion   Posted: Sat Dec 20, 2014 6:05 am   Subject: Problem with PIC16F628A program
Yes, of course i will finish it. And thank you again. Well maybe the missing resistors is the problem, because i tried your code just to see will it process the code correct, so i have to put my input ...
  Topic: Problem with PIC16F628A program
Somor

Replies: 6
Views: 10925

PostForum: General CCS C Discussion   Posted: Fri Dec 19, 2014 7:05 am   Subject: Problem with PIC16F628A program
Ttelmah, thank you for the code you wrote, i will try it later, cause i have to go out. I do not use any resistors to led indicator, because it's consumption is big enough, with two resistors 330 ohm ...
  Topic: Problem with PIC16F628A program
Somor

Replies: 6
Views: 10925

PostForum: General CCS C Discussion   Posted: Thu Dec 18, 2014 5:47 pm   Subject: Problem with PIC16F628A program
Hello, guys. I'm new in programming PICs, so i am stucked on my new project. The main idea is to make program, that shuffles 2 numbers. So that two numbers i'm trying to display on 2 digits 7 segment ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group