- This topic has 7 replies, 4 voices, and was last updated 11 years, 7 months ago by .
Viewing 8 posts - 1 through 8 (of 8 total)
|
Microcontroller › 8051 › L293D interfacing with 8051
This code is not workign ,why ?
my circuit is also according to the program code,all pics are good and well checked.
// Program to display dynamic text on LCD
#include<reg51.h>
#define msec 50
sbit rs=P2^0; //Register select (RS)
sbit rw=P2^1; //Read write (RW) pin
sbit en=P2^2; //Enable (EN) pin
sbit m01=P2^3; //input to L293D
sbit m02=P2^4; //input to L293D
unsigned char commands[]={0x38,0x0E,0x01,0x06,’