Create CONTRIBUTING.md

This commit is contained in:
László Monda
2016-02-10 19:03:12 +01:00
parent 3c24610b1e
commit afc73311e2

40
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,40 @@
# Coding standards
* 4 spaces are used for tabulation.
* Unix line endings are used.
* Curlies are always explicitly written.
## If
```
if (something) {
...
} else {
...
}
```
## for
```
for (uint8_t i; i<j; i++) {
...
}
```
## while
```
while (condition) {
...
}
```
## function
```
void do_this()
{
...
}
```