Académique Documents
Professionnel Documents
Culture Documents
com/homework-help/questions-and-answers/matab-problem-ihaveno-clue-function-qspline-x-raw-data-xall-0-1-2-3-4-5-6-7-8-9-10-yall-1-q16293829
please follow the link to a previous chegg question, I really need help on this MATLAB
assignment :/
Thank you in advance
Build a 16 bit shift register from two 74LS377 ICs. They should be driving 16 LEDs.
The input should come from the MSP430 Data and Clock signals. Demonstrate an
MSP430 software program that transmits data from the MSP430 to the LEDs of the
shift register.
This code uses P1.0 for data and P1.6 for clock, the project uses the opposite.
Therefore, P1.0 is the clock and P1.6 is Data. Modify the next program to make p1.0=
clock and P1.6 is Data.
}
// Shift out the value of DataOut to the connected shift register
void SerialDataOut(char DataOut)
{
char i, lsb;
// Place the LSB of DataOut on P1.0 and therefore to the input of the shift register
if (lsb)
{
P1OUT |= 0x01;
}
else
{
P1OUT &= ~0x01;
}
__delay_cycles(80000);
// Delay
while(1) {
Data = 0x00;
SerialDataOut(Data);
__delay_cycles(800000);
Data = 0x55;
// Clear Data
// Shift Data out to LED's
// Delay
// Shift Out the value 0x55
SerialDataOut(Data);
__delay_cycles(800000);
Data = 0xaa;
SerialDataOut(Data);
__delay_cycles(800000);
Data = 0x55;
SerialDataOut(Data);
__delay_cycles(800000);
}
}
Calculate scalar DC conductivity of plasmas having electron density ne=1014 cm-3 and
electron temperature Te for two cases indicated below, namely weakly ionized and fully
ionized plasmas. How conductivity depends on ne, Te in both cases? Compare obtained
conductivity values with that for materials presented in the figure below.
eg= 10- 15 cm2 and Te=1 eV.a) Weakly ionized plasmas. Background gas pressure
and temperature are pg=1 atm and Tg=300 K, respectively. Consider constant electrongas collision cross-section
b) Fully ionized plasmas. Consider two cases namely Te=1 eV and 100 eV