By the way, is there a way to arraywrite to predefined area of array?
arraywrite topline, ["mose"]
writes to 0 to 3 positions of array, but say I want to write this text from 4 to 7 positions,...
Type: Posts; User: CuriousOne; Keyword(s):
By the way, is there a way to arraywrite to predefined area of array?
arraywrite topline, ["mose"]
writes to 0 to 3 positions of array, but say I want to write this text from 4 to 7 positions,...
Thanks, that works!
Bringing up an old thread...
I have CD4514 connected with it's ABCD inputs to upper 4 bits of PORT.D (PORTD4-7)
I have variable that changes values between 0 and 16. Name is A
How Can I directly...
I've added external drivers to circuitry, so voltage now not an issue, so brightness also can be increased :)
And by adding properly synced multiplexing, even nicer effects can be obtained. Too bad they do not make RGB 7 segment displays in manageable size or price....
8887
As you can see, greens are...
https://youtu.be/EoPaM2Jru24
Here version with HPWM controlled color setting mode :)
Well my circuit is already built, software written and it works fine, just it takes about 7.3k memory, so I'd like to slim it down. If anyone want to build a LED clock, with directly driven segments,...
Well you're the pros, for me a lot of these strange brackets and other syntax things are quite hard to understand, because I've learned BASIC on ZX Spectrum, almost 35 years ago :) So I'm asking to...
So say
FOR A=1 to 20
HIGH PORTA+A
NEXT
will work?
Simple.
To make code shorter.
I've posted an example above. Yes it works but I have 40 subroutines and 40 IF THEN's in it. In case of redefinable port<>variable, it would be reduced 4 times.
Why pin definition should be constant?
OK say compiler substitutes say code "LD, B(3)" which say means making PORTB.3 high each time I'm making HIGH BUZ because previously I had defined BUZ var...
Well, we have been also told that PBP can't do string variables and this is chip limitation, but there are some other compilers, which can do variables on PICs. So I believe, this "on the fly" port...
I have 4 piece of 7 segment led displays connected directly to MCU pins, via 220 ohm resistor, common anode going to Vdd. I wrote a routine, which allows to display any number (X) on any digit (Y)....
Yes I see.
Even this does not works:
IF X=1 then
Y var PORTA.0
else
Y var PORTA.1
So this is just compiler limitation, right?
Say I want to have following code, when on specific condition, either of subroutines will be called.
'1ST DIGIT
DG1:
AX VAR PORTD.3:BX VAR PORTC.4:CX VAR PORTC.1:DX VAR PORTC.2: EX VAR...