Translating a basic stamp II program for a PIC16F627A to PIC18F2855
Seoul_lasers
Posts: 3
Greetings I have a project that I am doing modernizing a survey meter (Bicron Surveyor M) takes (GM tubes, proportional detectors as well as a multitude of Scintillation detectors).
The code in the .doc is for pulling in pulses and totalizing them at high speed (down to 4uS). The program can take samples at CPS, CPM and a user defined count windows.
The data is displayed on an LCD screen and also sent over a simple serial connection (9600baud). That's all this program is designed to do essentially.
I have recently been given an old code built around a PIC16F627A, this is nice, but I would REALLY like to adapt this code to make it run on a PIC18F2855.
I recently got ahold of one of these PIC18F's as a pre assembled kit (ECIO28P).
I haven't had much luck getting this code to adapt ( I've tried a number of changes and none has worked yet) . Additionally I'd like to be able to drive this on a 2x16 1602 (not over I2C) LCD screen if possible.
I have attached a commented release of the code if this helps any. I am quite lost.
The code was written in basic stamp II.
If there is anyone who would be able to have a look at the code and make suggestions or edits or show me what
would need to be done to the code that'd be a major serious help.
The code in the .doc is for pulling in pulses and totalizing them at high speed (down to 4uS). The program can take samples at CPS, CPM and a user defined count windows.
The data is displayed on an LCD screen and also sent over a simple serial connection (9600baud). That's all this program is designed to do essentially.
I have recently been given an old code built around a PIC16F627A, this is nice, but I would REALLY like to adapt this code to make it run on a PIC18F2855.
I recently got ahold of one of these PIC18F's as a pre assembled kit (ECIO28P).
I haven't had much luck getting this code to adapt ( I've tried a number of changes and none has worked yet) . Additionally I'd like to be able to drive this on a 2x16 1602 (not over I2C) LCD screen if possible.
I have attached a commented release of the code if this helps any. I am quite lost.
The code was written in basic stamp II.
If there is anyone who would be able to have a look at the code and make suggestions or edits or show me what
would need to be done to the code that'd be a major serious help.
Comments
I thought the document that I uploaded was a commented version of the BAS II.
I'm on a Mac.
Hope these additional files are helpful. Not sure what I have to do.
Tired opening these up on a Mac Basic Stamp editor and it's a no go.
Also, the header would contain somthing like: