HI

I'm Sean

I'm new here, so, as it stands, my problem:

please note, everything is still in the planning proccess yet i have a very good idea of how im going to do things, im yet to actually buy components (since more often than not something will undergo a minor alteration, so everything i talk about is just a sketch on a peice of paper or in my head at the moment :P)

I'm building a motorcycle H.U.D. as a part of an A-level school project, i have, several serial outputs from various PICAXE components connected to other transducers and controls (e.g. i have a PIC in the main control box (mounted to handle bars) controlling the contrast setting or the small projction unit in the helmet so as not to dazzle the rider at night, the contrast/brightness information along with the speed is then relayed via a radio uplink to a small unit on the helmet which then changes the output voltage to the display in the helmet thus changing the brightness, this contrast control PIC also outputs the information regarding the current contrast as a Serial output which i would like displayed on the OLED screen i'll have mounted to the control box) i would like to effectivlely use one monster microchip that i think for now i'm going to call the "funnel" chip (just for ease) to condense all these serial outputs (like the one regarding contrast), into one, this one, will then go off to the OLED screen mounted on the handlebars, so the rider can have a look at things like battery level and other bits and bobs of information all to extensive to list here, (i'm displaying only speed in the helmet due to a few limitations and i dont want the product to be to intrusive to the helmet and require years of fidling and setup just to display stuff the rider doesnt need to always see)

im familiar with programming using flowcharts quite extensively however, the school are about to upgrade to PICbasic (or pro, i dont know which yet so i apologize if im in the wrong forum, but lets just say it's PICbasic for now) i'm not so familar with the language if someone could give me and example of a peice of code for my "funnel" chip which for example takes two serout commands from other PIC's e.g. the characters:

("A - 8/10") - this represents a contrast level when the unit is using it's "A"utomatic contrast control mode.

The serial from the second chip....
("mode-R") telling the funnel chip the device is in "road" mode (as apposed to "T" for "tear that rubber" mode... )

and then converts these (using the SERIN command needless to say) into a SEROUT wich will display (" A - 8/10 mode - R") on the OLED screen positioned wherever for now

if you could give some indication of how i position the text on the screen (i'm looking at using the 20x4 yellow text OLED on the PICAXE website) - effectively all it has to do (famous last words) is read two (in reality this will be several) serial outputs from other PIC's and chuck the information onto various corners of the screen (anwhere of your choice since youre writing the code) some explanation of what the different aspects of the code mean would be useful but throwing anything at me is also useful.



any (useful) answers would be greatly appriciated, sorry for the long message i know i still havent fully explained things, any questions please ask, i just need to gain an understanding of how to use serial commands really thanks for your time, i may upload a few doodles in a minute to try make things understandable.

kind regards
Sean