Go Down

Topic: Programming guidelines  (Read 85 times) previous topic - next topic

Ma3a

Hi!

I´m a bit new to Arduino and it's language and have two questions:

1. Could you point me in the direction to find programming guidelines to make a well structured and
    readable code?

2. I see a lot of examples with a picture of an Arduino and components like LED´s and what not showing
    the wiring in a very nice and clear way.
    Is there a program to do that, or do you simply copy and paste in, say, Paint ?

Any suggestions would be appreciated :-)

Best regards

/// Martin ///

Robin2

For 1 have a look at Planning and Implementing a Program but please do not consider anything in it to have any official imprimatur. It is just my suggestion.


If your 2 refers to Fritizing diagrams then you should be aware that they are not favoured here. Fritzing can easily produce pretyy pictures but it can be almost impossible to figure out the actual wiring connections. A photo of a simple pencil drawing is usually much clearer. I use Libre-Office draw to make diagrams (as in this Thread) because I am familiar with it.

You can probably do the same with PowerPoint. Any of the Paint programs can be used but I find that a vector drawing program makes things neater.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

larryd

No technical PMs.
The last thing you did is where you should start looking.

wvmarle

For good circuit diagrams use a proper CAD software like KiCAD. It's quite easy to learn. It can also design PCBs, and I use it as a great help for me to layout my protoboards.

Eagle CAD I also hear about a lot, never tried it.
Quality of answers is related to the quality of questions. Good questions will get good answers. Useless answers are a sign of a poor question.

Go Up