r/microcontrollers • u/Fire_GhostZx6 • Nov 20 '25
new to microcontrollers and need help with tis task
I need someone to tell me how can I make this circuit on proteus and its code on mikroc, please
0
Upvotes
12
u/FreddyFerdiland Nov 20 '25
loop forever ( read input, calculate output, output )
um,do you own homework.
6
u/Electronic_C3PO Nov 20 '25
Is this the new way of education? Simple task, don’t mind trying for yourself a little bit, just turn on Reddit. How are you going to do your exam? Or trying to land a job in the field? Or maybe ChatGPT will solve it all.
6
u/zydeco100 Nov 20 '25
Just wire B3 to C0? What a silly exercise.
1
u/DigitalDunc Nov 20 '25
Is this your first experience with microcontrollers? I was doing simple stuff like this in my bedroom as a kid. You haven’t specified what language you are using either. It’s trivial in C, and nearly so in PIC assembly (where I started with mcu’s.)
1
u/Plank_With_A_Nail_In Nov 20 '25
Its not really a micro controller project just a simple logic problem, like really really simple lol.
When pin is low = 1, each loop check the input pins measure if they are high or low, you end up with 1001 or sone other binary number you then work out what decimal number that is, 8 or higher output pin goes high otherwise its low.