[ Log In ]
USB AVR programmer

USB AVR Programmer

$9.95
Qty:
Breadboard adapter for the USBasp AVR Programmer

USBasp Breadboard Breakout Adapter

$4.90
Qty:
ST Link v2 for STM32 and STM8 microcontrollers top view of all components

ST-Link v2 STM32 and STM8 Programmer

$9.95
Qty:
thumbnail: 3 position female connector with 2.54mm pitch

3 position female connector with 2.54mm pitch

$0.55
Qty:
2x36 pin header IDC

2.54 mm (0.1") Pitch Male Connector 36 pin Header

$0.75
Qty:
USB 2.0 Cable 10 Foot Type A Male to Type B Male

USB 2.0 Cable Type A Male to Type B Male - 10 FT

$4.80
Qty:
3 Foot USB Cable Type A to USB Cable Type A

USB Cable Type A Male to USB Type A Male - 3 FT

$2.65
Qty:
Tumbnail: 62 oz-in NEMA 17 Stepping motors (also called stepper motor)

NEMA 17 Stepping Motor (62 oz-in 5mm single shaft)

$19.95 Out of Stock
Qty:
Image of the Atmega324p

Atmega324P

$8.50
Qty:

Programming: Creating a Library (All Code in Header Including Functions) Using Programmers Notepad

Libraries are files containing code that can be used to extend the functionality of a program. In C and C++, these libraries are stored in header files and .C files. The library files are included in the main file using an #include statement. In this case, only a .h header file will be created.

The header information (generally the code above the main function that include the #define statements and function prototypes), and the functions are stored in the .c file. If desired, all of the code (header and functions) can be stored in the header file.

If a .c file library is created, any global variables that is used in the functions would be located in this .c file rather than the header .h file.

Comments and Additional Information

Have some code to share? Or additional information? Respond here:

You need to be logged in to save a response on this page. The response must be constructive, helpful, supplimentary or to correct the existing video, code or narrative content.

Description:

Code (optional):