Hi all. First of all excuse me for my poor English, I learned by myself. I’m writing for a little syntax problem in binary dice code I found on this book (I like a loot book because is simple and clear, fantastic for beginners … like me).
I found following row that I don’t understand syntax (page 61): led_state=(led_state)==LOW) ? HIGH : LOW;
with == I assign a value to led_state variable, but I didn’t understand meaning of second part: ? HIGH : LOW
Can you explain me. Thanks in advance. Bye