Jump to content
43oh

yakuzja

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. #include "msp430g2553.h" void pulseClock ( void ); void shiftOut ( void ); void pauza (void); #define DATA BIT0 // DS -> P1.0 14 pin #define CLOCK BIT4 // SH_CP -> P1.4 11 pin #define LATCH BIT5 // ST_CP -> P1.5 12 pin char a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0; char i; int main(void) { WDTCTL = WDTPW | WDTHOLD; // Stop WDT P1DIR |= (DATA + CLOCK + LATCH ); //connects 74HC165 or 74595 //P1DIR |= 0x01; //P1.0 red LED output // P1DIR |= 0x40; //P1.0 yellow LED output // P1DIR |= BITD; // P1DIR |
  2. MSP 430 Launchpad 2553, I can program 74HC595. How to program 74HC165 and get from it the input values (to read them in IAR, TXT file, or other way). The easiest way to make it ? The simplest way to get from register let
×
×
  • Create New...