Assalam o alikum
my name is Al-Haya Noor and i am using very first time the forum.
is there any one who guide me?
i have a problem while doing my project. in Embedded-C and the problem is
Consider the following sequence of values:
00000000 00000000 00000001
00000000 00000000 00000100
00000000 00000000 00010000
00000000 00000000 01000000
00000000 00000001 00000000
00000000 00000100 00000000
00000000 00010000 00000000
00000000 01000000 00000000
00000001 00000000 00000000
00000100 00000000 00000000
00010000 00000000 00000000
01000000 00000000 00000000
Using a “Super Loop” architecture, and a „loop‟ delay, write software that will generate this sequence
of bytes on Port 0, Port 1 and Port 2 of an 8051 microcontroller.
The sequence should run „forever‟.
The sequence should be updated once per second.
the above is the problem i am solving

Unfortunately, Objective-C - a higher level language comparable to C++, but more directly influenced by Smalltalk, and used primarily on MacOS and iOS systems - is actually quite a different thing from Kiel Embedded-C (which is a C dialect specifically intended for microcontroller programming architecture), which is what I believe you are looking for help with. Aside from the fact that you would want the C forum rather than the Objective-C forum, it is unlikely that anyone here is familiar with the specific dialect in question. You may want to try to find a forum specific to Embedded-C, if you haven't already. I assume that's what you were looking for when you came here, but I'm afraid it isn't at all the same.

Edited 1 Year Ago by Schol-R-LEA

What Schol-R-LEA said. You certainly need to know the functions for i/o outputs on this system, and an 8051 cross platform compiler. I have such for my ARM embedded systems, but they can be quite different for other processor families. Do you have an 8051 emulator to run your compiled code, or do you have to move it to a target board (probably using JTag connections to do so)?

This article has been dead for over six months. Start a new discussion instead.