SlideShare a Scribd company logo
1 of 1
Download to read offline
asap please / define 1.298n module Io Pin #define ENA 5 #define ENB 6 #define INI 7
#define IN2 8 #define IN3 9 #define INA 11 void forward () 1 digitalWrite (ENA, HIGH);
//enable L298n A channel digitalWrite (ENB, HIGH) ; //enable L298n B channel digitalWrite
(IN1, HIGH); //set IN1 hight level digitalWrite (IN2, LOW); //set IN2 low level digitalWrite
(IN3, LOW); //set IN3 low level digitalWrite (IN4, HIGH); // set IN4 hight level
Serial.println("Forward") ;//send message to serial montior
void back() digitalWrite (ENA, HIGH); digitalWrite (ENB, HIGH); digitalWrite (IN1, LOW);
digitalWrite (IN2, HIGH); digitalWrite (IN3, HIGH); digitalWrite (IN4,LOW); serial.println
("Back"); }
Question Completion Status: //before execute loop () function, //setup() function will execute
first and only execute once void setup() ( Serial.begin(9600); /lopen serial and set the baudrate
pinMode (IN1, OUTPUT) ; //before useing io pin, pin mode must be set first pinMode (IN2,
OUTPUT) ; pinMode (IN3, OUTPUT) ; pinMode (IN4, OUTPUT) ; pinMode (ENA, OUTPUT)
; pinMode (ENB, OUTPUT) ; 1 / Repeat execution void loop() 1 forward(); //go forward
delay(1000);//delay1000ms back(); //go back delay(1000); left (); //turning left delay (1000);
right (); //turning right delay(1000); } 1 and 4 9 and 11 5 and 6 1 and 2 lick Save and Submit to
save and submit. Click Save All Answers to save all answers.

More Related Content

Similar to asap please define 1.298n module Io Pin #define ENA 5 #def.pdf

Escene es330 peg ip phone user manual en
Escene es330 peg ip phone user manual enEscene es330 peg ip phone user manual en
Escene es330 peg ip phone user manual enEmre Ozcan
 
Introduction to Arduino and Circuits
Introduction to Arduino and CircuitsIntroduction to Arduino and Circuits
Introduction to Arduino and CircuitsJason Griffey
 
What will be quantization step size in numbers and in voltage for th.pdf
What will be quantization step size in numbers and in voltage for th.pdfWhat will be quantization step size in numbers and in voltage for th.pdf
What will be quantization step size in numbers and in voltage for th.pdfSIGMATAX1
 
5asm the stackandsubroutines
5asm the stackandsubroutines5asm the stackandsubroutines
5asm the stackandsubroutinesRabi Iftikhar
 
8051 TIMER COUNTER SERIAL COMM. INTERUPT PROGRAMMING.pdf
8051 TIMER COUNTER SERIAL COMM. INTERUPT PROGRAMMING.pdf8051 TIMER COUNTER SERIAL COMM. INTERUPT PROGRAMMING.pdf
8051 TIMER COUNTER SERIAL COMM. INTERUPT PROGRAMMING.pdfShashiKiran664181
 

Similar to asap please define 1.298n module Io Pin #define ENA 5 #def.pdf (7)

Escene es330 peg ip phone user manual en
Escene es330 peg ip phone user manual enEscene es330 peg ip phone user manual en
Escene es330 peg ip phone user manual en
 
Introduction to Arduino and Circuits
Introduction to Arduino and CircuitsIntroduction to Arduino and Circuits
Introduction to Arduino and Circuits
 
What will be quantization step size in numbers and in voltage for th.pdf
What will be quantization step size in numbers and in voltage for th.pdfWhat will be quantization step size in numbers and in voltage for th.pdf
What will be quantization step size in numbers and in voltage for th.pdf
 
5asm the stackandsubroutines
5asm the stackandsubroutines5asm the stackandsubroutines
5asm the stackandsubroutines
 
8051 TIMER COUNTER SERIAL COMM. INTERUPT PROGRAMMING.pdf
8051 TIMER COUNTER SERIAL COMM. INTERUPT PROGRAMMING.pdf8051 TIMER COUNTER SERIAL COMM. INTERUPT PROGRAMMING.pdf
8051 TIMER COUNTER SERIAL COMM. INTERUPT PROGRAMMING.pdf
 
SETU VTEP March 2014
SETU VTEP March 2014SETU VTEP March 2014
SETU VTEP March 2014
 
Configuración del dial peer
Configuración del dial peer Configuración del dial peer
Configuración del dial peer
 

More from tsekar2004

Aplicar el Cap�tulo 11 de Bancarrota a Community Choice Financial In.pdf
Aplicar el Cap�tulo 11 de Bancarrota a Community Choice Financial In.pdfAplicar el Cap�tulo 11 de Bancarrota a Community Choice Financial In.pdf
Aplicar el Cap�tulo 11 de Bancarrota a Community Choice Financial In.pdftsekar2004
 
Aplicando Lecciones Aprendidas(identificar-documento -Analizar-A.pdf
Aplicando Lecciones Aprendidas(identificar-documento -Analizar-A.pdfAplicando Lecciones Aprendidas(identificar-documento -Analizar-A.pdf
Aplicando Lecciones Aprendidas(identificar-documento -Analizar-A.pdftsekar2004
 
AO= Actual Quantity.pdf
AO= Actual Quantity.pdfAO= Actual Quantity.pdf
AO= Actual Quantity.pdftsekar2004
 
An�lisis FODA para una dulcer�a local saludable con fortalezas exter.pdf
An�lisis FODA para una dulcer�a local saludable con fortalezas exter.pdfAn�lisis FODA para una dulcer�a local saludable con fortalezas exter.pdf
An�lisis FODA para una dulcer�a local saludable con fortalezas exter.pdftsekar2004
 
An�lisis de Shoe Corporation of Illinois. Analice la estructura or.pdf
An�lisis de Shoe Corporation of Illinois. Analice la estructura or.pdfAn�lisis de Shoe Corporation of Illinois. Analice la estructura or.pdf
An�lisis de Shoe Corporation of Illinois. Analice la estructura or.pdftsekar2004
 
answer these two questions 1 . why are brand marketers concerned.pdf
answer these two questions  1 . why are brand marketers concerned.pdfanswer these two questions  1 . why are brand marketers concerned.pdf
answer these two questions 1 . why are brand marketers concerned.pdftsekar2004
 
An�lisis de caso de desarrollo de liderazgo Pat Talley se puso de .pdf
An�lisis de caso de desarrollo de liderazgo Pat Talley se puso de .pdfAn�lisis de caso de desarrollo de liderazgo Pat Talley se puso de .pdf
An�lisis de caso de desarrollo de liderazgo Pat Talley se puso de .pdftsekar2004
 
Antes de la promulgaci�n de la Ley de Seguridad de los Ingresos de.pdf
Antes de la promulgaci�n de la Ley de Seguridad de los Ingresos de.pdfAntes de la promulgaci�n de la Ley de Seguridad de los Ingresos de.pdf
Antes de la promulgaci�n de la Ley de Seguridad de los Ingresos de.pdftsekar2004
 
answers arent clear d. Residents of Lilliput .pdf
answers arent clear  d. Residents of Lilliput .pdfanswers arent clear  d. Residents of Lilliput .pdf
answers arent clear d. Residents of Lilliput .pdftsekar2004
 
answerhelp with 13 14 and. short reflection 13. What gene is m.pdf
answerhelp with 13 14 and. short reflection 13. What gene is m.pdfanswerhelp with 13 14 and. short reflection 13. What gene is m.pdf
answerhelp with 13 14 and. short reflection 13. What gene is m.pdftsekar2004
 
AssignmentPrepare a vulnerability scanning report that will be pre.pdf
AssignmentPrepare a vulnerability scanning report that will be pre.pdfAssignmentPrepare a vulnerability scanning report that will be pre.pdf
AssignmentPrepare a vulnerability scanning report that will be pre.pdftsekar2004
 
AssignmentModify the Python program by adding the create_dictiona.pdf
AssignmentModify the Python program by adding the create_dictiona.pdfAssignmentModify the Python program by adding the create_dictiona.pdf
AssignmentModify the Python program by adding the create_dictiona.pdftsekar2004
 
Answer is 0.5 Problem 31.6 Let X be a continuous random variable wit.pdf
Answer is 0.5 Problem 31.6 Let X be a continuous random variable wit.pdfAnswer is 0.5 Problem 31.6 Let X be a continuous random variable wit.pdf
Answer is 0.5 Problem 31.6 Let X be a continuous random variable wit.pdftsekar2004
 
Answer is 0.06 Problem 31.7 Let X have a cdf F(x)={1x610x1�otherwise.pdf
Answer is 0.06 Problem 31.7 Let X have a cdf F(x)={1x610x1�otherwise.pdfAnswer is 0.06 Problem 31.7 Let X have a cdf F(x)={1x610x1�otherwise.pdf
Answer is 0.06 Problem 31.7 Let X have a cdf F(x)={1x610x1�otherwise.pdftsekar2004
 
Answer the questions about the instructions Topic Pregnancychoos.pdf
Answer the questions about the instructions Topic Pregnancychoos.pdfAnswer the questions about the instructions Topic Pregnancychoos.pdf
Answer the questions about the instructions Topic Pregnancychoos.pdftsekar2004
 
Assessment Description You are required to do the modelli.pdf
Assessment Description  You are required to do the modelli.pdfAssessment Description  You are required to do the modelli.pdf
Assessment Description You are required to do the modelli.pdftsekar2004
 
Assignment2 (driver class) Agency reference to the Agency class pub.pdf
Assignment2 (driver class) Agency reference to the Agency class pub.pdfAssignment2 (driver class) Agency reference to the Agency class pub.pdf
Assignment2 (driver class) Agency reference to the Agency class pub.pdftsekar2004
 
Assignment-2 on Windows Server Administration (Note Partial Marks a.pdf
Assignment-2 on Windows Server Administration (Note Partial Marks a.pdfAssignment-2 on Windows Server Administration (Note Partial Marks a.pdf
Assignment-2 on Windows Server Administration (Note Partial Marks a.pdftsekar2004
 
Assignment Introduction to AWS Iot and Cloud StorageInstructions.pdf
Assignment Introduction to AWS Iot and Cloud StorageInstructions.pdfAssignment Introduction to AWS Iot and Cloud StorageInstructions.pdf
Assignment Introduction to AWS Iot and Cloud StorageInstructions.pdftsekar2004
 
Assignment DetailsThe board of Trustees of an organization tasked .pdf
Assignment DetailsThe board of Trustees of an organization tasked .pdfAssignment DetailsThe board of Trustees of an organization tasked .pdf
Assignment DetailsThe board of Trustees of an organization tasked .pdftsekar2004
 

More from tsekar2004 (20)

Aplicar el Cap�tulo 11 de Bancarrota a Community Choice Financial In.pdf
Aplicar el Cap�tulo 11 de Bancarrota a Community Choice Financial In.pdfAplicar el Cap�tulo 11 de Bancarrota a Community Choice Financial In.pdf
Aplicar el Cap�tulo 11 de Bancarrota a Community Choice Financial In.pdf
 
Aplicando Lecciones Aprendidas(identificar-documento -Analizar-A.pdf
Aplicando Lecciones Aprendidas(identificar-documento -Analizar-A.pdfAplicando Lecciones Aprendidas(identificar-documento -Analizar-A.pdf
Aplicando Lecciones Aprendidas(identificar-documento -Analizar-A.pdf
 
AO= Actual Quantity.pdf
AO= Actual Quantity.pdfAO= Actual Quantity.pdf
AO= Actual Quantity.pdf
 
An�lisis FODA para una dulcer�a local saludable con fortalezas exter.pdf
An�lisis FODA para una dulcer�a local saludable con fortalezas exter.pdfAn�lisis FODA para una dulcer�a local saludable con fortalezas exter.pdf
An�lisis FODA para una dulcer�a local saludable con fortalezas exter.pdf
 
An�lisis de Shoe Corporation of Illinois. Analice la estructura or.pdf
An�lisis de Shoe Corporation of Illinois. Analice la estructura or.pdfAn�lisis de Shoe Corporation of Illinois. Analice la estructura or.pdf
An�lisis de Shoe Corporation of Illinois. Analice la estructura or.pdf
 
answer these two questions 1 . why are brand marketers concerned.pdf
answer these two questions  1 . why are brand marketers concerned.pdfanswer these two questions  1 . why are brand marketers concerned.pdf
answer these two questions 1 . why are brand marketers concerned.pdf
 
An�lisis de caso de desarrollo de liderazgo Pat Talley se puso de .pdf
An�lisis de caso de desarrollo de liderazgo Pat Talley se puso de .pdfAn�lisis de caso de desarrollo de liderazgo Pat Talley se puso de .pdf
An�lisis de caso de desarrollo de liderazgo Pat Talley se puso de .pdf
 
Antes de la promulgaci�n de la Ley de Seguridad de los Ingresos de.pdf
Antes de la promulgaci�n de la Ley de Seguridad de los Ingresos de.pdfAntes de la promulgaci�n de la Ley de Seguridad de los Ingresos de.pdf
Antes de la promulgaci�n de la Ley de Seguridad de los Ingresos de.pdf
 
answers arent clear d. Residents of Lilliput .pdf
answers arent clear  d. Residents of Lilliput .pdfanswers arent clear  d. Residents of Lilliput .pdf
answers arent clear d. Residents of Lilliput .pdf
 
answerhelp with 13 14 and. short reflection 13. What gene is m.pdf
answerhelp with 13 14 and. short reflection 13. What gene is m.pdfanswerhelp with 13 14 and. short reflection 13. What gene is m.pdf
answerhelp with 13 14 and. short reflection 13. What gene is m.pdf
 
AssignmentPrepare a vulnerability scanning report that will be pre.pdf
AssignmentPrepare a vulnerability scanning report that will be pre.pdfAssignmentPrepare a vulnerability scanning report that will be pre.pdf
AssignmentPrepare a vulnerability scanning report that will be pre.pdf
 
AssignmentModify the Python program by adding the create_dictiona.pdf
AssignmentModify the Python program by adding the create_dictiona.pdfAssignmentModify the Python program by adding the create_dictiona.pdf
AssignmentModify the Python program by adding the create_dictiona.pdf
 
Answer is 0.5 Problem 31.6 Let X be a continuous random variable wit.pdf
Answer is 0.5 Problem 31.6 Let X be a continuous random variable wit.pdfAnswer is 0.5 Problem 31.6 Let X be a continuous random variable wit.pdf
Answer is 0.5 Problem 31.6 Let X be a continuous random variable wit.pdf
 
Answer is 0.06 Problem 31.7 Let X have a cdf F(x)={1x610x1�otherwise.pdf
Answer is 0.06 Problem 31.7 Let X have a cdf F(x)={1x610x1�otherwise.pdfAnswer is 0.06 Problem 31.7 Let X have a cdf F(x)={1x610x1�otherwise.pdf
Answer is 0.06 Problem 31.7 Let X have a cdf F(x)={1x610x1�otherwise.pdf
 
Answer the questions about the instructions Topic Pregnancychoos.pdf
Answer the questions about the instructions Topic Pregnancychoos.pdfAnswer the questions about the instructions Topic Pregnancychoos.pdf
Answer the questions about the instructions Topic Pregnancychoos.pdf
 
Assessment Description You are required to do the modelli.pdf
Assessment Description  You are required to do the modelli.pdfAssessment Description  You are required to do the modelli.pdf
Assessment Description You are required to do the modelli.pdf
 
Assignment2 (driver class) Agency reference to the Agency class pub.pdf
Assignment2 (driver class) Agency reference to the Agency class pub.pdfAssignment2 (driver class) Agency reference to the Agency class pub.pdf
Assignment2 (driver class) Agency reference to the Agency class pub.pdf
 
Assignment-2 on Windows Server Administration (Note Partial Marks a.pdf
Assignment-2 on Windows Server Administration (Note Partial Marks a.pdfAssignment-2 on Windows Server Administration (Note Partial Marks a.pdf
Assignment-2 on Windows Server Administration (Note Partial Marks a.pdf
 
Assignment Introduction to AWS Iot and Cloud StorageInstructions.pdf
Assignment Introduction to AWS Iot and Cloud StorageInstructions.pdfAssignment Introduction to AWS Iot and Cloud StorageInstructions.pdf
Assignment Introduction to AWS Iot and Cloud StorageInstructions.pdf
 
Assignment DetailsThe board of Trustees of an organization tasked .pdf
Assignment DetailsThe board of Trustees of an organization tasked .pdfAssignment DetailsThe board of Trustees of an organization tasked .pdf
Assignment DetailsThe board of Trustees of an organization tasked .pdf
 

Recently uploaded

AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17Celine George
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationNeilDeclaro1
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningMarc Dusseiller Dusjagr
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17Celine George
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answersdalebeck957
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 

Recently uploaded (20)

AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 

asap please define 1.298n module Io Pin #define ENA 5 #def.pdf

  • 1. asap please / define 1.298n module Io Pin #define ENA 5 #define ENB 6 #define INI 7 #define IN2 8 #define IN3 9 #define INA 11 void forward () 1 digitalWrite (ENA, HIGH); //enable L298n A channel digitalWrite (ENB, HIGH) ; //enable L298n B channel digitalWrite (IN1, HIGH); //set IN1 hight level digitalWrite (IN2, LOW); //set IN2 low level digitalWrite (IN3, LOW); //set IN3 low level digitalWrite (IN4, HIGH); // set IN4 hight level Serial.println("Forward") ;//send message to serial montior void back() digitalWrite (ENA, HIGH); digitalWrite (ENB, HIGH); digitalWrite (IN1, LOW); digitalWrite (IN2, HIGH); digitalWrite (IN3, HIGH); digitalWrite (IN4,LOW); serial.println ("Back"); } Question Completion Status: //before execute loop () function, //setup() function will execute first and only execute once void setup() ( Serial.begin(9600); /lopen serial and set the baudrate pinMode (IN1, OUTPUT) ; //before useing io pin, pin mode must be set first pinMode (IN2, OUTPUT) ; pinMode (IN3, OUTPUT) ; pinMode (IN4, OUTPUT) ; pinMode (ENA, OUTPUT) ; pinMode (ENB, OUTPUT) ; 1 / Repeat execution void loop() 1 forward(); //go forward delay(1000);//delay1000ms back(); //go back delay(1000); left (); //turning left delay (1000); right (); //turning right delay(1000); } 1 and 4 9 and 11 5 and 6 1 and 2 lick Save and Submit to save and submit. Click Save All Answers to save all answers.