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.
Hello Dears :) , Hope you are Doing well ,
I want to make a Clever push button to enter a password for locker ,
For example to enter the 4-digit password, the push button should be used. if the user
wishes to enter the 4-digit password as 1 2 4 8, s/he should do the following:
• Click once...
OK Dear,
Thanks for your notes , i did what u said and modified my code but the problem is still exist .
the text is displaying on the screen while i'm not press on the button , do u have any idea why this happens ?
i have attached the circuit and the code that i used .
Hello dears , hope you are doing well
i interfaced LCD and push button to pic 16f877a
, and below the code i have used ,
i want when the button pressed , it shows the desired text ,but unfortunately the code enterd the loop and showed the text without i pressed the Button !!!
Could any one...
could you please give me an example !!
if i have char getRequest[20];
and getRequest[7]='1';
and getRequest[8]='2';
how can i store this two as not character at Long variable as L_nm ; to be L_nm=12;
oops yes you are right i have character codes .. gerRequest[7]='1' ; getRequest[8]='5'
so how i can convert them to int or how i can put them to variable like long x = 15 ???
so if i have : getRequest[7]='1' ; and getRequest[8]='3' ;
i should define int variable like int x and use atoi() function ~~
int x;
char c;
char c2;
c=getRequest[7];
c2=getRequest[8];
x=10*atoi(c)+atoi(c2) ;
thats Correct or not ??
If i have a Char array Like : getRequest[20] , and i want To specify some digits of this array to be stored in a variable Like : L_Id .. what is the type of L_Id and how to concatenate more than one digit !!
For example I want like that :
getRequest[1]=1 ; getRequest[8]=5;
and i want to...
if I have a char array like : getRequest[18] ,, How i can specify some digits of this array to a variable like : ID_1st;
Example : getReqest[1]=1; getRequest[3]=5 ;
:fight:
i want to store this two digits to variable that show the ID_1st is :15;
what is the type of ID_1st and how to...
Hello friends .. i already have working on project that implement can protocol .. i have made digital locker that open and close by sending commands from the pic ..
i tried to set keypad that when key clicked .. the key value will insert into array to be send to another lock using can protocol...
Thanks Susan .. yes You are right ,,
i Attached my code here please please check lines from 270-280 here i want to use putBytes function
it seems the variable i use to store the data is wrong or i used this function in error way .. could you tell me what is the solution to this error ..
- -...
Hello friends ..
i have already use "Micro electronica Spi Ethernet Library"
https://www.mikroe.com/download/eng/documents/compilers/mikroc/pro/pic/help/spi_ethernet_library.htm in my project ..
it use put_String Function to stores whole string (excluding null termination) into ENC28J60...
thanks for replay ...
could u please gibe me links that useful for TCPIP library ..
another question : i well use more than one pic and one enc28j60 !! for example : i have pic with enc 28j60 in my home and another pic with enc28j60 in my neighbor home and both well received packets from the...
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.