Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Can any one convert this CCS C 4x3 matrix keypad driver file to ANSI C, I want to use this code in Hi-Tech C compiler.
///////////////////////////////////////////////////////////////////////////
//// Flex_KBD.C ////
////...
Hi,
I was testing port b interrupt.
Am using.
PIC16F886 @4MHz Internal Osc.
CCS C Version 4.105
I have connected LED on A0 and giving low signal on RB7-RB4 but no LED glow.
The pins RB7-RB4 is high, checked by logic probe.
Please where I did mistake.
Whenever I give logic zero to any of...
It is nice to know about these terms. The link provided by sherazi is really nice and informative. Now I understand the things. Thanks for helping me.
Thanks.............
Hi,
Some times I saw in circuit VDD and VSS, here VDD means positive and VSS means zero. What is the full form of these VDD and VSS.
And is there any this type of three letter word for negative voltage and ground?
Any one explain in detail.
Thanks alexan sir. I will read EEPROM section fully and also experiment with code.
arunsharma, the link you provided is very nice and informative. Is this your site. Where this lab is located?
Thanks alexan sir for reply. Then I will do IF type or strcmp().
Another problem I am facing of EEPROM writing reading of PIC16F886. I read help file as well as saw sample code but still not able to figure out that how to write my digit[] array into EEPROM. Please help me in this. Dont give me...
I want to compare two array for password.
There are two array in code, one contain password and other one will be compared with first one.
digit[] and pwdigit[]
I come to know three methode of comparing password.
(1)
Using if, (if digit[0] == pwdigit[0] && digit[1] == pwdigit[1])
(2)
Using...
I am learning C and C++. I want to know hows the book Jumping Into C++ by Alex. You can see the link.
https://www.cprogramming.com/c++book/?inl=sb
Hows the book and what is your experience.
Bye
Till date I have implemented the things. Reading keypad, storing into array and then comparing the two array. Now I want to store this array data, that is password in EEPROM of PIC16F886, since this controller has 256 byte of EEPROM built in. I read CCS C help files and other code. I have some...
alexan sir thanks for giving me link for how to shorten the if loop. And as you said it uses less resources. So I will use that one only but for get familiar with another method I will experiment with string function also as said by arunsharma0731.
Alexan sir, the function you suggested is working fine.
In next stage I want to implement number of wrong password entry and time out. When three time wrong password enter happen then it goes in locked state and require master password. And during password entry a some second of time is set, if...
WOW! I got very first reply and also that is from SUPER MODERATOR. Now am sure I will get proper help.
Thanks alexan_e for reply and giving me information.
Can you give some code that how to implement in keyarray(). How to test any keypress and if keypress then go to ahead and also how to test...
Hi,
I am newbie just completed the embedded course in which I learned 8051 and PIC. And for coding C language and learned Keil and CCS C.
My English is very average and hence please don't get irritate with my English. Some times I am not able to express what is in my mind.
Now I am doing...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.