May 21, 2012, 01:46:09 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
International Electronics and Technology Forum
>
Digital Electronics
>
Microcontrollers
>
A question about Programming?
Pages: [
1
]
« previous
next »
Print
Author
Topic: A question about Programming? (Read 446 times)
SanD
Newbie
Posts: 4
A question about Programming?
«
on:
July 06, 2011, 09:18:59 AM »
I would like to ask some questions on programming to help me get started on a project i'm working on.
I have a 8051 microcontroller board, and a 7 SEG display board. I am supposed to come up with a Counter program and a timer program to get a display on the 7 seg
What is a counter program and how does it work? Thats my question. Any help would be appreciated.
Logged
Ben
Newbie
Posts: 58
Re: A question about Programming?
«
Reply #1 on:
July 06, 2011, 09:41:44 AM »
A counter is a program that does just that- counts. Every tick (or x number of ticks), it increments the count by one. When it reaches the end of where it's supposed to count (I suppose whatever the max number of the 7 segment display is), it resets the whole thing back to 0.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Electrotechlab Primer
-----------------------------
=> About Electrotechlab
=> Electronics News
=> Consumer Electronics and Gadgets
=> General Technology
=> Computers and Internet
-----------------------------
Analog and Mixed Signal
-----------------------------
=> Electricity and Analog Electronics
=> Signal Conversion and Signal Processing
=> Industrial Electronics
-----------------------------
Digital Electronics
-----------------------------
=> Combination Logic Circuits
=> Microcontrollers
=> PLD SPLD GAL CPLD FPGA
-----------------------------
Specialization
-----------------------------
=> Wire Communications
=> Wireless Communication
=> Hi Fidelity Audio and Video
=> Mechatronics and Robotics
=> Amateur Ham Radio
-----------------------------
Electrical Electronics Repair
-----------------------------
=> Test Equipment and Instrumentation
=> General Electrical and Electronics Repair
=> Personal Computer and Peripherals
-----------------------------
Resources
-----------------------------
=> Computer Programming
=> PCB Design
=> Datasheets Manuals Ebooks and Links
=> Electronic Projects Design and Ideas
-----------------------------
General Forum
-----------------------------
=> Anything Under The Sun
=> Arts Culture and Lifestyle
=> Sports Games and Entertainment
=> General Science
=> Health and Medicine
Loading...