need help in Assingment
ok...i am a student studying a course called computer system engineering...in australia..i studying a subjkect called microprocesors..I am supose to write c programme that makes the 7 segment decoder shift and for a keypad to work on it ..and something to do with port A...Does any1 here knows how what source code i need ?and how do i do it?i will post my unfinished programme later..and more info this is general cause im not sure whether anyone knows how to write a programe in c on hardwares..if anyone does pls mesage me i will write in deatil tyvm
lol right...im just asking about who knows about c programing on hardware...its not like i didnt write my own programme out...i just need help on it since my lecturer is not helping cause he isnt alowed too its procedure..he says by all means seek help outside its part of research...so not to wory about #9 i mean this is considered reserach i haf been looking at google and found nothing...this is the best place i find for soemone to help me understand c programme more.... im not breaking rules am i.I wouldnt seek for more knowledge of c if my lecturer is good enough to help me...we haf to find out how to do it without his guide he deals only with the hardware....but i find c very compicated i hope u ppl understand.
I Only got as few questions to ask...thats all...i do not expect ppl doing it for me...so dont get me wrong
So ask your questions here then.
what are the source code for making a counter that counts binary 1-16 that loops..
I only got that
and plus i need to asign the bits 00 to atract the appropriate 4 bits...its for the keypad... i know the bits i just need to know how to asign it?do i need to make arrays?i know i need a look up table for this... how do i atach it in the programme?and in a programme how many arays can u have??i have one aray already for the 7segment display..and i haf to make that display shift..i haf programmed in assmbler...and now i need to do it in c
Your lecturer should provide with at least some information to get you started.
When I did microprocessing most of the programs I started with involved using *assembly* language, perhaps that is where you should start.
Microprocessing, looks scary to begin with, all those codes in binary or hex and masking of bits, nibbles, etc, but it's actually pretty straight forward.
The information you need to send to your output devices (port A/B) should be computer dependant. You need to obtain the output addresses from your lecturer.
So in short- ask your lecturer