Hi,
does anyon e know how I can make an if-then statement using the IAR Kickstart. Also does anyone know how to make one reading an input with or wothout reading an input. Thank you.
Hi,
does anyon e know how I can make an if-then statement using the IAR Kickstart. Also does anyone know how to make one reading an input with or wothout reading an input. Thank you.
void main(){
/t // your initialisation code goes here
while(1){
if(something){
// your code here
}
else{
// your code here
}
}
}
Hello!
does anyon e know how I can make an if-then statement using the IAR Kickstart. Also does anyone know how to make one reading an input with or wothout reading an input. Thank you.
For your info and since you are using IAR, there is a bunche of sample
code on Texas Instruments’ homepage.
If I recall well, it was number 15, therefore slak0015k.zip (or maybe
with only 1 zero in the name).
You will find everything and even more for what you want to do.
As for your question itself, I think it might be a good to begin with a good
C reference book. And second advice, if you could really READ that book
and not simply copy the examples and execute them, you would learn
really fast. I know, I learned the slow way by copying code, executing,
spending hours to try to understan what was wrong…
Pascal