Resistor colors
|
03-01-2018, 03:54 PM
Post: #1
|
|||
|
|||
Resistor colors
A litte program that translate colors on resistors
Code: // Initialize procedures used in project (by khapster) can also us it in calculation like this 1/(1/resistor + 1/resistor) /Lars |
|||
03-01-2018, 04:58 PM
(This post was last modified: 03-01-2018 05:04 PM by salvomic.)
Post: #2
|
|||
|
|||
RE: Resistor colors
hi Lars,
thank you for the credit and for all! Please, check about here Code:
I get a check error, I think in 12 0 instead of 120... Then I get another error with #8 08080h. Maybe only space not necessary... Nice program! Salvo EDIT: this code works Code:
I'm trying with v13441. Perhaps somewhere it need a pause... ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
03-01-2018, 05:21 PM
Post: #3
|
|||
|
|||
RE: Resistor colors
Should not be any spaces, have sneaked in there at copy I guess. The program is supposed to quit after enter 3 colors and a pause on 2 seconds. It's because it should work at calculations.
|
|||
03-01-2018, 05:30 PM
(This post was last modified: 03-01-2018 05:53 PM by salvomic.)
Post: #4
|
|||
|
|||
RE: Resistor colors
(03-01-2018 05:21 PM)LarsF Wrote: Should not be any spaces, have sneaked in there at copy I guess. The program is supposed to quit after enter 3 colors and a pause on 2 seconds. It's because it should work at calculations. then it is too quick for me (I'm getting old...) :-) Salvo EDIT: at start there is no "Black" color here. It appears only clicking on "Brown". Please, check... However, it's also ok! It doesn't mean anything to input 0 ... as first value Nice program! Sorry for my misunderstood... Salvo ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
03-01-2018, 06:17 PM
Post: #5
|
|||
|
|||
RE: Resistor colors
(03-01-2018 05:30 PM)salvomic Wrote:(03-01-2018 05:21 PM)LarsF Wrote: Should not be any spaces, have sneaked in there at copy I guess. The program is supposed to quit after enter 3 colors and a pause on 2 seconds. It's because it should work at calculations. Just change the WAIT statement at the end of Resistor(). Should not be any Black at first colors, does not make sense :-) Also at third color I have removed colors Grey and White, a bit too many zeros. /Lars |
|||
03-01-2018, 06:18 PM
Post: #6
|
|||
|
|||
RE: Resistor colors
(03-01-2018 06:17 PM)LarsF Wrote: Just change the WAIT statement at the end of Resistor(). Well done. Right! ciao Salvo ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)