Click here to Skip to main content
15,885,757 members
Articles / Internet of Things / Arduino

Motor Primer and the L293D Quad Half-H Driver

Rate me:
Please Sign up or sign in to vote.
4.96/5 (41 votes)
1 Feb 2011CPOL9 min read 136.1K   851   68  
Learn to control DC and Stepper motors using a Micro Controller
#ifndef _UART_H_
#define _UART_H_ 1

#define UART_BAUD_SELECT(baudRate,xtalCpu) ((xtalCpu)/((baudRate)*16L)-1)

//Method declaration
void uart_init(word);
void SendDataPacket(char*, byte);
void SendByte(byte);
byte* ReadData();

#endif  //_UART_H_

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Retired
United States United States
Currently enjoying retirement and working on projects without pressure, deadlines or any kind of management.

Comments and Discussions