• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Atmega32] [C] im kinda stuck

RoyalzBHO

Excellent OT User
Joined
Jun 25, 2012
Messages
337
Solutions
1
Reaction score
535
Location
Poland
Sup!

Ive got a small problem with my program, the idea was to push a button on a 4x4 keypad, which lightens diods on a microcontroller in binary system.

hrtvyHK.png

6Y4E6YF.png


For example, if i push button "9", it will light diods to make number 9 in binary code, that is 1001.
My problem is, sure it does work, but only with columns, for i = 4 in my for loop i can only light diods from the first column (left), for i = 5, 2nd columnt, etc etc

My code:
Wklejka #3288289 – Wklej.org

Any thoughts?
 
Back
Top