Reflection on the process of using al as a tool to learn

Assignment Help Other Subject
Reference no: EM133609705

Question: Find the code and send the video of adafruit circuit playground working. Please do not use FLORA. Use circuit playground.

Assignment: Test Code:

Note: Copy and paste this code into Arduino IDE. Make sure you delete all lines of code on your new sketch in Arduino IDE before pasting the code into Arduino IDE.
/*
Written by Brandon Watson for the AI & Arduino Coding Assignment in CTCH 110 Fall 2023 at the University of Regina.

The following code is designed to act as a check for whether you can successfully upload code to your Adafruit FLORA.
*/
#include<Adafruit_NeoPixel.h> // Include the NeoPixel library

#definePIN8 // Pick the pin on the FLORA that the LED is connected to (in this case, pin 8)

Adafruit_NeoPixel strip = Adafruit_NeoPixel(1, PIN, NEO_GRB + NEO_KHZ800);

voidsetup() {
strip.begin(); // Initialize the LED pixel
strip.show(); // Initialize the pixel to 'off'
}

voidloop() {
strip.setPixelColor(0, 0, 200, 100);
strip.show();
delay(500); //Delay for 500 miliseconds
strip.setPixelColor(0, 0, 0, 0);
strip.show();
delay(300); //Delay for 300 miliseconds
}

Assignment : Code for Assignment:

Note: Once you have been able to upload the test code to your FLORA, you can copy and past the assignment code into Arduino IDE and begin fixing it. This code wont upload so you will have to ask ChatGPT to help fix the code. Ask it to explain the code. For those of your who are new to coding, did this help? For those of you who have experience, was ChatGPT helpful?
/*
Written by Brandon Watson for the AI & Arduino Coding Assignment in CTCH 110 Fall 2023 at the University of Regina.

The following code is designed to blink the onboard led on an Adafruit FLORA in a certain sequence. The sequence is:
RED - for 1 second
OFF - for 2 seconds
Green - for 1 second
OFF - for 2 seconds
Blue - for 1 second
OFF - for 2 seconds

This sequence should repeat indefinitely.
*/
#include<Adafruit_NeoPixel.h>// Include the NeoPixel library

#definePIN8 // Pick the pin on the FLORA that the LED is connected to (in this case, pin 8)

Adafruit_NeoPixel strip = Adafruit_NeoPixel(1, PIN, NEO_GRB + NEO_KHZ800);

voidsetup() {
strip.begin() // Initialize the LED pixel
strip.show(); // Initialize the pixel to 'off'
}

voidloop() {
// first number = pixel number | second number = red brightness (0 - 255) | third number = green brightness (0 - 255) | fourth number = blue brightness (0 - 255)
// Example: strip.setPixelColor(pixel 1, Red, Green, Blue)
// Pixel 1 should be '0' because the count starts at 0
strip.setPixelColor(0, 255, 0, 100);
strip.show();
delay(3000); //Delay for 1000 miliseconds
strip.setPixelColor(0, 140, 100, 0);
strip.show();
delay(2000); //Delay for 2000 miliseconds
strip.setPixelColor(0, 0, 255, 0);
strip.show();
delay(500); //Delay for 1000 miliseconds
strip.setPixelColor(0, 0, 0, 0);
strip.show()
delay(10); //Delay for 2000 miliseconds
strip.setPixelColor(1, 0, 0, 255);
strip.show();
delay(1000); //Delay for 1000 miliseconds
strip.setPixelColor(0, 0, 0, 0);
strip.show();
delay(2000); //Delay for 2000 miliseconds
}

The correct LED sequence is:

RED - for 1 second
OFF - for 2 seconds
Green - for 1 second
OFF - for 2 seconds
Blue - for 1 second
OFF - for 2 seconds

Assignment Requirements:
- 300 - 500 word reflection on the process of using Al as a tool to learn and work with coding
- 3 screenshots of the process of fixing the code (ChatGPT, Arduino IDE)
- Your Final Code - add the text for your code directly to your portfolio along with your reflection
- a short video of your FLORA working

For those students using an Adafruit Circuit Playground instead of a FLORA, you will select the circuit playground board instead of the FLORA in Arduino IDE. If you upload the test code but the LED does not light up, you need to change the following line in both the test and assignment code.

#define PIN 8 // Pick the pin on the FLORA that the LED is connected to (in this case, pin 8)
#define PIN 17 // Pick the pin on the Circuit Playground that the LED is connected to (in this case, pin 17)

Reference no: EM133609705

Questions Cloud

How might it be an ethical violation : how might it be an ethical violation? Why do you believe the profession has chosen to view this issue as unethical some or all of the time?
What are two of the most important things : What are two of the most important/interesting/surprising things that our study revealed about Great Military Leaders?
What strategies were employed by the womens rights movement : What strategies were employed by the women's rights movements in Russia (Soviet Union) and Britain to promote gender equality and women's rights between 1918?
How was the russian autocratic state organized : How was the Russian Church part of political authority and legitimacy? How was the Russian autocratic state organized?
Reflection on the process of using al as a tool to learn : reflection on the process of using Al as a tool to learn and work with coding - add the text for your code directly to your portfolio along with your reflection
What were the major features of the mexican constitution : What were the major features of the Mexican Constitution of 1917? Which parts were most symbolically important, and which were most influential in reality?
Should musicians and celebrities voice their ideologies : Should musicians and celebrities voice their ideologies and try to influence the thinking of others?
Explain how the european enlightenment thinkers new ideas : Explain how the European Enlightenment thinkers' new ideas/concepts impacted the formation of the political system and society in Uzbekistan/your country?
What role geographical expansion and industrialization play : Explain how United States became a major military and economic power. What role did geographical expansion and industrialization play in this changing status?

Reviews

len3609705

12/29/2023 10:35:51 PM

I have an assignment to do. Can you please help me. You don’t need to do the whole assignment, just find the code and send me the video of adafruit circuit playground working. Please do not use FLORA. Use circuit playground. I will mail the code that needs to be fixed according to assignment.

Write a Review

Other Subject Questions & Answers

  What are entrepreneurial implications of not appreciating

What are the entrepreneurial implications of not appreciating or understanding the role and contribution of families to the economies of our communities and countries?

  Describe the role women played in puritan society

Compare/contrast the role women played in Puritan Society in colonial Massachusetts with their role in the Great Awakening of the 18th century.

  Explain when arrest warrants are required

Explain when arrest warrants are required. Likewise, explain when search warrants are required.

  Review of robots as pedagogical tools

English 200 - A Review of Robots as Pedagogical Tools in Computer Science Education and brief preview of the research the student found on the topic

  Post an explanation of the role of theory in research

Post an explanation of the role of theory in research. Next, identify a theory in your discipline and explain its basic tenets. Then, with this theory in mind.

  Describe the leadership behaviors of the person you selected

Describe the leadership behaviors of the person you selected in terms of transactional and transformational leadership styles.

  Edna doctor is worried about her endocrine function

Edna's doctor is worried about her endocrine function. Which of the following glands is most likely causing her symptoms?

  What are scientists saying about the link of climate change

What causes hurricanes? What destroys hurricanes? What are scientists saying about the link of climate change and hurricane activity?

  How is the speech organized chronologically

Does the introduction include the speaker's credibility and speech overview and How is the speech organized? Chronologically? Topically? Another way

  Describe why a quality improvement initiative is needed

Explain why a quality improvement initiative is needed in this area and the expected outcome. Discuss how the results of previous research demonstrate support.

  How technology has influences in humans connection

Sociology research paper- My topic : how technology has influences in human's connection/ communication.

  Exploring the problems and goals for kara and meg

Describe methods for identifying, evaluating, and exploring the problems and goals for Kara and Meg.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd