converting refined axe114 to 28X2

#1
I've reverse engineered the axe114 to understand the circuit, and have now modified it to show only hours & minutes on a new pcb, and it works perfectly with the original 28X1, but has problems trying to convert to 28X2. I think it's in the differences in how the 2 chips handle their ports but it's a bit beyond me.
 

Attachments

#3
I loaded your code into PE version 6. For a 28X1, the code's syntax checks out OK, although I don't have your hardware to confirm that it works.

I then chance the PICAXE model to #PICAXE 28X2 and this showed two different syntax error types:
  1. The command "pins" needs to be changed to "pinsb"
  2. Addressing pins changes to port.pin format, so "high (or low) portc x" changes to "high (or low) c.x" where x in the port's pin number Eg. high c.7
Once updated according to the above two rules, the code's syntax checks out OK, but again I don't have your hardware to confirm that it works.
 
Top