??? 01/14/08 20:53 Read: times |
#149448 - C? sorry long post! Responding to: ???'s previous message |
As mentioned (I Think) I have Borland C++ an old version 3.00 and the books to go with this. This will do C programming with out the oo bits if required to do basic C programming on the PC.
So I could re-educate on that then move on to The Dunfield C package I also have. But we have so many different ways of sending output and getting input in C I did find it confusing. What I needed to grasp was how to pass variables from the main function to others! If sending a character to the LCD display, would I write my own function call such as printf in assembler, as a call routine with a reti at the end and always assume the main function always uses acc. Just little things like that. I also guess that the basic packages I have done in assembler have worked (after bug fixes), been reasonably quick and more importantly small as in only around the 1k mark in code. So there has not been the requirement to go further. I have just finished the small project that brought me back into this. This was a way to control a Trunked MPT1327 radio used in Portugal on their tram system. In the tram the PA has a on-board computer of some form to communicate over a 485 link to the radio. It set up calls between the radio and central control room, deal's with emergency requests,Press to talk, clearing calls etc. But when a radio comes to us in the UK for repair, we no longer have access to the PA system and computer, so it is a struggle to test the units fully. I decided this would be a good project for me. Hence the questions on 2 Byte ascii hex. I am about to go out to Portugal Tuesday the 15th and will not be back until start of Feb, and no I am not going out there with the finished project, but will be trying to work further on it if I can when in the hotel room at night. Perhaps this is where I try to learn C again? It certainly keeps the grey matter and the logic functions going, just them Eureka moments at 02:00 in the morning are a killer. Cheers Adrian |
Topic | Author | Date |
How common is 2 Byte ASCII HEX? | 01/01/70 00:00 | |
That is an odd way of looking at is | 01/01/70 00:00 | |
Must not post when tired | 01/01/70 00:00 | |
Correct! | 01/01/70 00:00 | |
Very common indeed! | 01/01/70 00:00 | |
hex_digit_to_ascii | 01/01/70 00:00 | |
optimisation | 01/01/70 00:00 | |
you could, but | 01/01/70 00:00 | |
Widespread | 01/01/70 00:00 | |
ERR Thanks | 01/01/70 00:00 | |
C suggestion | 01/01/70 00:00 | |
and 10 times tougher .. | 01/01/70 00:00 | |
beware | 01/01/70 00:00 | |
C? sorry long post! | 01/01/70 00:00 | |
'C' - not rocket science | 01/01/70 00:00 |