There are times when you want to build something but there is scarcity of resources, that happened to me when I was on the step of building a program counter. I needed a digital IC named 74LS161.
I studied the data sheet
and wrote a code to help me find the solution. I had the IC attiny84, similar
to atmega328p (Arduino's IC). The main difference is that its small and does
not require an external oscillator.
I coded the IC using arduino as an external programmer.
I coded the IC using arduino as an external programmer.
Requirements:
The IC needed to work
with the external clock with all the inputs and outputs working ASAP. The PC (Program
Counter) needed to have a start location and could count Up or Down depending
on the given signal. And also jump to a specific number if required all these
things were to be set externally so signals were to be taken in all the time to
perform action as requested by the processing unit. I hadn’t had worked on the interrupts
by then, it would have been much easier using it but basic feedback coding
worked just fine for me.
CODE:
Thank you for reading.
You are awesome.

No comments:
Post a Comment