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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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