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.
Re: Question about if condition in" C" language
send_bit() and Receive_bit() send and recieve bit by bit
you can see all codes inhttps://www.edaboard.com/threads/273173/
Re: Question about if condition in" C" language
I post it for you last week,you suggest me to debug in atmel studio 6 but i couldn't get it yet:-( I want to understand problem with another way.
Re: Question about if condition in" C" language
Hi my friends,
Thanks for your guides,
actually it is an example program i want to use,in TX_byte() function i want to send one time SlaveAddress,SlaveAddress is 8 bit as i said before 0x5A, and Msb should send first and then other bits.It is like...
Re: Question about if condition in" C" language
I did not get result in simulation,so I test program by toggle a pin of port
like this :
if (TX_byte(Slaveaddress)){
PORTD.0=~PORTD.0;
goto repeat;
}
but i didn't see any thing in oscilloscope of Proteus
Re: Question about if condition in" C" language
I have declared function at the beginning of codes but i think second function doesn't return any thing.
Question about if condition in" C" language
Hi guys,
Can we call a function in condition of if in another function?
for example
MemRead1 is first function,TX_byte is second
unsigned int MemRead1(unsigned char SlaveAddress,unsigned char command1)
{
//some statements
...
...
Bigdogguru and alexxx ,Please more explain why programmer should be fired ?
I should persuade my professor because he made me to use these codes.
Know it's more than 3 month's i'm working on this project because i don't have enough experience.
.I did'nt see any thing in scl ,sda pins...
Re: Problem with" if Condition" in C language
Ok.It is proteus file
Alexxx,do you mean these codes are wrong? I am not an experiecend person ,I should get result because it's my final project at university.My professor told me it's better to use catalog's code to...
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.