ok I am in a class and I type out the file for the project in note pad... I have the ass and the file on my desktop and I cant get it to run to save my life!! what am I overlooking? please help I have to pass this class jfgoddard09@gmail.com
Might you have forgotten to read the Keil getting started documentation?
Or forgotten that your problem is related to a51 which is architecture-specific?
Or that Keil uvision contains an editor, a simulator and a debugger - so why need Notepad?
Perhaps a good time to get your ass off the desk, and email the professor?
Do you have a board. Can you find some example code to get you started. Blinky type examples are a good start. As far as 3x8 decoder you need to work with GPIO interfaces. Perhaps one GPIO can be setup as input and another GPIO can be setup as outputs. I am not very familiar with 8051 however only ARM. So I not even sure if 8051 calls there IOs GPIO.
First however I would get used to working projects. That is example projects you have not wrote. So you can learn what is in a working project. I would also get a board that you can use instead of just simulating.
I have wrote the code for my first project and iam just trying to get it thur the translator so I can go to next step.. with zero luck.. iam draggin myself thru this class because I have to have it I don't plan on doing any programming after this
Dragging yourself through the course sounds like a bad investment.
School is a privilege - and getting great grades can help when you want a job. Even if some of the courses aren't relevant for the job. Companies employs people who come off as doers, and who can show a previous track record. Your school exam papers are one such track record - the important thing isn't what you read but your ability to learn. After all, a quite significant percent of the population will end up with jobs that are significantly different from what they studied for.
If you spend time listening and following to the lectures, you don't need to drag yourself through the assignments. So you save time and get a more enjoyable study time. Why spend days waiting to know if you passed or failed, when a reasonable amount of studying will be enough to make sure you will pass?
View all questions in Keil forum