Tobie Calvert
New Member
Hello,
I'm currently in the depths of coding a program in PICAXE programming editor and I've come across a little issue. I'm going to be deadly honest and say I haven't really got a clue what I'm doing. The code is supposed to take an input from a proximity switch and times that number by the circumference of the bike wheel and display the distance on the PICAXE OLED screen. I can't seem to get the correct cadence to display on the OLED. I'm not massively sure but it may be due to that fact I can't seem to get a variable to display on the OLED. To be honest I'm not even sure if my code is correct.
Any help would be massively appreciated, take care and I look forward to hearing back from you
- Below is attached my trial code
- I'm using an 08M2
- OLED is connected to C.1
- Promsixy Sensor is connected to C.2
Many Thanks,
Tobie
I'm currently in the depths of coding a program in PICAXE programming editor and I've come across a little issue. I'm going to be deadly honest and say I haven't really got a clue what I'm doing. The code is supposed to take an input from a proximity switch and times that number by the circumference of the bike wheel and display the distance on the PICAXE OLED screen. I can't seem to get the correct cadence to display on the OLED. I'm not massively sure but it may be due to that fact I can't seem to get a variable to display on the OLED. To be honest I'm not even sure if my code is correct.
Any help would be massively appreciated, take care and I look forward to hearing back from you
- Below is attached my trial code
- I'm using an 08M2
- OLED is connected to C.1
- Promsixy Sensor is connected to C.2
Many Thanks,
Tobie
Attachments
-
768 bytes Views: 35