Category:Snippets

From Curuxa

Snippets are small pieces of code that you can re-use in your own applications.

Here you will find functions, macro definitions and other code examples well documented for programming the most common and repetitive tasks, such as setting up digital inputs/outputs, analog-to-digital converters, simple names for variable types, stopping the program for a given amount of time, communications with external devices...

Most examples are written in C language using the free, multiplatform SDCC compiler, and specialized on the Curuxa Main Boards and Modules.

You might also want to take a look at the supported variabled types in SDCC and the rest of documentation.