Trust you have a resistor in series with the LED--at least 330R for 5V supply. Otherwise you could have burned out a pin with excess current. How about B.1 to B.7 and B.2 to B.6?this code will not light an LED across pins b1 and b6. Why?
I believe that will only work if you "tristate" (change to a high impedance input) the "unrequired" row and/or column drive pins in the matrix. My back-of-envelope (literally) calculation with a 2 x 2 matrix (and 8 LEDs) lights two LEDs if one row and one column are driven High and the other pair Low..... you could, in fact, pair each of the 16 diodes in the 4x4 matrix with another one with (effectively) cathode soldered to anode and anode to cathode. This would give you 32 LEDs controlled by 8 pins. All of a sudden the 28X2 has a lot of spare pins.
Right. That was the plan as implemented in the code in post 44 with "dirsB = %00000000 ' set all portB pins inputs" before setting the appropriate pin pair high and low.I believe that will only work if you "tristate" (change to a high impedance input) the "unrequired" row and/or column drive pins in the matrix.
"Tri-state" is a"high impedance" state in which a pin will neither source nor sink (significant) current. This is the state which a picaxe pin is in when it is an input, and it is the state in which non-active pins in a matrix or charlie-plexing configuration should be.I don't understand tri-state. Is that different from the three possible conditions in my code?
In serial mode, other 28X2 output pins will work for the AXE133Y Serial OLED.... is it necessary to connect the OLED to B7? We had other plans for that pin
_ _ _
__| | __| | __| |
| | | _ _ | | | | | |
| | | | |-. | |-. | | | | | |
| | | | | | | | | | | | | | |
|__| | | |-' | |-' |__| | |__| |
| | | |O | |O | | _ | |
| |==|_| |_|======| | | |==| |
|_| |_| O| | |_|
.-| |
OLED AXE132 | | |
`-|_|
In many cases there will be something additional to the "Syntax Error" itself which gives a hint as to what is wrong. When there isn't the arrow pointing to where the error is detected in a line can also provide an indicator as to what caused the error to be produced.The biggest difficulty now is syntax errors. The editor tells us we have one but not how to correct it.
What error? With PE6, I have found that with some "program too long" errors, the syntax checker doesn't tell you that, and doesn't tell you where the problem is first detected--especially noted using too-long eeprom statements.... The biggest difficulty now is syntax errors.
The editor tells us we have one but not how to correct it.
As a friend of mine once noted, after some forehead slapping, the "POWER ON" principle is fundamental to the operation of electrical equipment.Edit: Found the problem! Power must be applied to the OLED to operate!
Is this your machine or does the "office" own and operate it? Windows 10 can be set to prevent the installation of unauthorised software. Are you logged in as an 'administrator' or a 'user'. You may need administrator rights to install the software.Let me know if I'm off thread. Trying to get the Editor running on my office comp. It's a Windows 10 machine. The download comes in fine but it will not launch the Editor.
It would help if you could clarify exactly what that means, what does happen, what error messages you get, what exactly happens when you do try to launch it, how you are trying to launch it.The download comes in fine but it will not launch the Editor.
Not quite. For use with a 40-pin PICAXE -Edit; TXD is transmit data, goes to 6 serin, correct?
.----._.----.
-| 1 40 |-
-| 2 39 |-
AXE029 -| 3 38 |-
.----------------. -| 4 37 |-
_|_.----. oo |- N/C -| 5 36 |-
| | | o oo |- RXD ---> SI ->| 6 35 |-
|_ _| | |o| oo |- TXD <--- SO --| 7 34 |-
| `----' |o| oo |- 0V ---. -| 8 33 |-
`----------------' | -| 9 32 |-
| | -| 10 31 |-
Fit link towards | -| 11 30 |-
this side `-------| 12 29 |-
-| 13 16 |-
Only if you plug in the AXE029 adjacent to the PICAXE legs.Edit; That means the ground pin on the adapter connects to pin 8, correct?
.----._.----.
-| 1 40 |-
-| 2 39 |-
AXE029 -| 3 38 |-
.----------------. -| 4 37 |-
_|_.----. oo |- N/C -| 5 36 |-
| | | o oo |- RXD ---> SI ->| 6 35 |-
|_ _| | |o| oo |- TXD <--- SO --| 7 34 |-
| `----' |o| oo |- 0V ---.- A5 ->| 8 33 |-
`----------------' | -| 9 32 |-
| | -| 10 31 |-
Fit link towards | -| 11 30 |-
this side `-------| 12 29 |-
-| 13 16 |-