=CrAzYG33K=
New Member
I need my 8051 to take the values from some register every 5 seconds .. this has to be donew using polling right? What need I use?
Any insights?
Any insights?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
=CrAzYG33K= said:I didn't get you fully mstechca, maybe attaching an *.a51 ASM file might be helpful to me
mov P3.0, R7 <-- Send the value of Register 7 to port 3.0.
inc A <-- Add 1 to accumulator (which is A)
cjne A, 5, 1 <-- Compare A to 5, and go to byte 1 (inc A) if A isn't 5.
mov A, 0 <-- Set A to 0, so counting can start over.
jmp 0 <-- Go back to the beginning and start again
mstechca said:The difference between me and the rest of the microcontroller users on this site is that I directly program them through the parallel port.
ohhh.. so u program the micro in binary :lol:mstechca said:The difference between me and the rest of the microcontroller users on this site is that I directly program them through the parallel port.
Yes, I programmed the AT89C2051, and tested it with a simple HELLO program, and it worked nicely.Nigel Goodwin said:Have you ever prgorammed one yet?
You are talking about me receiving TV stations.I thought (from your other posts) you haven't even managed to make a working target system?
mostly because you wouldn't follow a working design!.
mstechca said:Yes, I programmed the AT89C2051, and tested it with a simple HELLO program, and it worked nicely.Nigel Goodwin said:Have you ever prgorammed one yet?
You are talking about me receiving TV stations.I thought (from your other posts) you haven't even managed to make a working target system?
Personally I will do it this way:=CrAzYG33K= said:I need my 8051 to take the values from some register every 5 seconds .. this has to be donew using polling right? What need I use?
Any insights?
I make my own, so that I know it works 100%hyedenny said:no compiler
Its embedded in my compiler.no assembler
You can't say "no knowledge" when I can print the word HELLO on an LCD!no knowledge
Let me tell you that creativity is one thing that can make you go far in this world.puuuure creativity
What is wrong with using a parallel port?Oh, and a parallel port.
I'm writing my own compiler/assembler package for the 8051, but for now, I'm using machine code!What way are you programming the 8051?
Assembler, C compiler, ... I hope not machine code through the parallel port
mstechca said:I'm writing my own compiler/assembler package for the 8051, but for now, I'm using machine code!
I'm sorry, but I am not interested in buggy software or software requiring a buggy operating system. and "if you want it done right, do it yourself!"
What's the point in developping what already exist?mstechca said:I make my own, so that I know it works 100%