Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 2nd October 2007, 10:05 PM   (permalink)
Question Small Project

In my electronics class in high school, I have been working with a pic 876a microcontroller. My teacher gave me and a few other students a project to work on. I just have no clue where to begin, considering I don't have much knowledge of the pic programming language.

The project is for an electric motorcycle. This particular section of the project is dealing with the headlights. He wants us to use "pseudocode" and make the lights flash five times when the brakes are applied. I have no idea where to begin. Can someone offer some help?
vman5911 is offline   Reply With Quote
Old 2nd October 2007, 10:41 PM   (permalink)
3v0
Default

He is not asking you to program the PIC. The use of pseudocode is the big clue. If he wanted you to create code to run on the PIC he would have asked you to write the program in assembly or a high level language like C or Basic.

He is asking you to show how the code for the task would work using pseudocode. He should have talked about pseudocode in class. The link I provided gives an example of pseudocode and should be enough to show you how it is done.
3v0 is offline   Reply With Quote
Old 2nd October 2007, 11:32 PM   (permalink)
Default

They're basically block diagrams for programmers, just an outline of what's to be done, not the details, it's just written to look like code blocks.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline   Reply With Quote
Old 3rd October 2007, 02:55 AM   (permalink)
Default

Well, he doesn't want us to program in any high level language like that. We use a program called Microbasic. Keep in mind (I'm sorry I didn't mention this before), this is a high school class. We use commands such as "TrisB=%00000000", and things such as that.

Any idea what I mean?
vman5911 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
My professor screwed my final electronics project! kungfusansu Electronic Projects Design/Ideas/Reviews 21 26th August 2007 09:57 PM
Project on Infrared technology..... achaizs Electronic Projects Design/Ideas/Reviews 20 2nd May 2006 07:16 AM
Problem with my Project: Motorised volume control zenigame211 Electronic Projects Design/Ideas/Reviews 20 24th March 2006 01:43 PM
need help on Light/Temperature control project guu Electronic Projects Design/Ideas/Reviews 2 2nd March 2006 05:38 AM
measuring project nourtamer85 Electronic Projects Design/Ideas/Reviews 11 6th February 2006 12:27 PM



All times are GMT. The time now is 09:24 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.