|
|
Mmm.. I should try those hey!
|
|
|
|
|
BillWoodruff wrote: I am not going to try anything because I mighht break something.
This is the most important thing to beat out of the heads of many trainees.
I blame academy for this: they teach you that you have only one go, from start to finish, without material, in a short time and on paper (good luck debugging it) so either you know how to resolve the assignment or you don't.
I am thankful for what I learned in my Computer Egnineering studies, but knows if there aren't a bunch of things I would change.
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
den2k88 wrote: they teach you that you have only one go A good teacher would explain how your software is tested in a non-production environment.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
1) When I use a soldering iron I tend to look like Partick from Spongebob (reference picture https://i.kym-cdn.com/photos/images/original/001/809/295/3d5.jpg[^]).
2) UART and RS-232 may look similar but they are not.
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Also me. I make my man solder everything I need soldered. Speaking of which I need to nag him about a gadget.
Real programmers use butterflies
|
|
|
|
|
1) Giggle. Get yourself a breadboard.
2) Too add to the confusion: What if your UART turns out to be your CPU?
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
CodeWraith wrote: 1) Giggle. Get yourself a breadboard.
If only I have to work on an existing PCB and usually I have to build my own connectors.
CodeWraith wrote: 2) Too add to the confusion: What if your UART turns out to be your CPU? It is a GPIO of the CPU so... almost?
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
No UART of any kind on the board. Bit banged RS232 in software at 19200 baud. 38400 are possible, but I might get in some trouble with file transfer protocols at that rate.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
That was the rev0 of the design, banging bits on the GPIO. Could even be more efficient.
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
And today I'm doing the opposite.
Someone came up with a bit banged PS/2 keyboard port. Good idea, but of little use to me. My processor has better things to do than constantly poll for keystrokes and I also want a s PS/2 mouse. So I have drawn a little schematic. Serial to parallel conversion using latching shift registers that can be read as two separate input ports and a separate interrupt for each PS/2 port when another byte has been received.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
I learned (?) to solder when I restored Grandpa's 1936 Pilot Radio. The first few times I had more scars on my fingers and hands than I did successful connections. Ouch! Even my best work was messy.
And as a follow up - do you pronounce the "l" in solder? Here is is silent.
|
|
|
|
|
craig robbins MN wrote: The first few times I had more scars on my fingers and hands than I did successful connections
You aren't supposed hold it like that![^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
craig robbins MN wrote: And as a follow up - do you pronounce the "l" in solder? Here is is silent.
I'd pronounce it with the L, but from now on I will start pronouncing it without
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
I obtained a piece of code from Internet, but can not tell which computer language is used. so I try to post here to get some hints.
it is likely C grammar, but has some unfamiliar special functions invoked:
extern bool Angle_13_1=false;
extern color Col_13_1=Sienna;
extern int Style_13_1=0;
extern int Width_13_1=1;
double EndPrice_13_1;
extern bool Draw.as.Background=true;
int init(){return(0);}
int deinit(){
ObjectDelete(AngleNum +"Angle_1_1");
ObjectDelete(AngleNum +"Angle_1_2")
return(0);}
diligent hands rule....
|
|
|
|
|
The only language I know of that accepts '.' in variable names is R - and that doesn't look like it at all ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
is it possible to be Delphi?
diligent hands rule....
|
|
|
|
|
Slim chance: Delphi is a modified/enhanced Pascal and they type begin and end instead of braces. I think braces are for comments if not mistaken.
Mircea
|
|
|
|
|
Don't think so, it doesn't have an extern keyword.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
easily could be a structure reference.... perfectly legit
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
|
English. No, kidding, I'm betting on C.
C always looks foreign.
--edit
To me it does, aight?
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
modified 21-Feb-22 16:56pm.
|
|
|
|
|
I agree with you. it makes sense if that one is a struct.
diligent hands rule....
|
|
|
|
|
It looks like MQL, or MetaQuotes Language. It's usually used for automated trading scripts.
|
|
|
|
|
it can be MQL too.
from this link, it seems like a C++ type of language.
never played around with this MQL...
diligent hands rule....
|
|
|
|