This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user:stostan2:start [2023/11/29 17:47] – stostan2 | user:stostan2:start [2023/11/29 18:02] (current) – stostan2 | ||
---|---|---|---|
Line 10: | Line 10: | ||
GTF0- Our next task is trying to successfully develop a code that will read off a picture. We begin by getting ourselves familiar with declaring variables. So for example, making a color accommodate a variable. For example int red = 0;. Once we declare our variables, we would now want to use those variables to create shapes and lines. We can do so by using gdImageColorAllocate commands and creating the color by changing the values (0x00). | GTF0- Our next task is trying to successfully develop a code that will read off a picture. We begin by getting ourselves familiar with declaring variables. So for example, making a color accommodate a variable. For example int red = 0;. Once we declare our variables, we would now want to use those variables to create shapes and lines. We can do so by using gdImageColorAllocate commands and creating the color by changing the values (0x00). | ||
+ | {{: | ||
DTR0- We are now beginning to get into some very key concepts at this point. Were using binary and hexadecimal coding to help further our understanding. The max on binary digits can change depending on what your base is. If your base is base 2, then your range is 0-16. You can count this out like so (0000, | DTR0- We are now beginning to get into some very key concepts at this point. Were using binary and hexadecimal coding to help further our understanding. The max on binary digits can change depending on what your base is. If your base is base 2, then your range is 0-16. You can count this out like so (0000, | ||
There is also Hexadecimal. Hexadecimal is a counting system that can count from 0-16. Also the different type of data. Char, Unsigned Char. | There is also Hexadecimal. Hexadecimal is a counting system that can count from 0-16. Also the different type of data. Char, Unsigned Char. | ||
- | STL0- In STL0, we put our knowledge from DTR0 to the test. In this week were also introduced to new coding statements. Were introduced to digitalWrite commands. digitalWrite can be used to help control a circuit and what it will produce. So for example if youre trying to get light to appear out of an LED light you will write digitalWrite(pin, | + | STL0- In STL0, we put our knowledge from DTR0 to the test. In this week were also introduced to new coding statements. Were introduced to digitalWrite commands. digitalWrite can be used to help control a circuit and what it will produce. So for example if youre trying to get light to appear out of an LED light you will write digitalWrite(pin, |
GFOX- GFO (Grade Figure-Outerer) is a project that is meant to use our knowledge of Pi spreadsheets and also help us see how were performing in C for ENG. Using the sc command followed by the gfo project name, you will open up a new spreadsheet. With that you will go into lab46 and do status c4eng to receive grade feedback on how youre doing in the class. You will then use the grade info in front of you to help further understand how your grade is. Your spreadsheet will be broken up into 3 different sections. First your projects, then your participation and your journals ( or the 3 different parts of the grading criteria). Now the spreadsheet is more than just typing in value and calculating it. If you're doing the project correctly you're using the spreadsheet to help do the math for you. When trying to figure out your percent grade on a specific project you will start by getting into the appropriate box and then proceed by doing = then the math you would like to perform. For example if you want to divide your grade 30/35 and the boxes are in line with each other in column C and your are in 3,4 you will do = C3/C4 (ENTER). Say you wanted it in C5 you would hover over that box and that value of 30/35 would be place in that box. | GFOX- GFO (Grade Figure-Outerer) is a project that is meant to use our knowledge of Pi spreadsheets and also help us see how were performing in C for ENG. Using the sc command followed by the gfo project name, you will open up a new spreadsheet. With that you will go into lab46 and do status c4eng to receive grade feedback on how youre doing in the class. You will then use the grade info in front of you to help further understand how your grade is. Your spreadsheet will be broken up into 3 different sections. First your projects, then your participation and your journals ( or the 3 different parts of the grading criteria). Now the spreadsheet is more than just typing in value and calculating it. If you're doing the project correctly you're using the spreadsheet to help do the math for you. When trying to figure out your percent grade on a specific project you will start by getting into the appropriate box and then proceed by doing = then the math you would like to perform. For example if you want to divide your grade 30/35 and the boxes are in line with each other in column C and your are in 3,4 you will do = C3/C4 (ENTER). Say you wanted it in C5 you would hover over that box and that value of 30/35 would be place in that box. | ||
Line 20: | Line 21: | ||
STL1-The objective is to use a breadboard to make 4 LED lights flash in binary code. The materials required to make this happen are 10 lose wires, 4 LED lights and 4 220 ohm resistors. The circuit needs a wire plugged into a 3.3V going into +, ground pin going into -, as well as a wire for each LED going into a GPIO pin. GPIO pins each have their own voltage and own input and output. Lights are outputs devices because they' | STL1-The objective is to use a breadboard to make 4 LED lights flash in binary code. The materials required to make this happen are 10 lose wires, 4 LED lights and 4 220 ohm resistors. The circuit needs a wire plugged into a 3.3V going into +, ground pin going into -, as well as a wire for each LED going into a GPIO pin. GPIO pins each have their own voltage and own input and output. Lights are outputs devices because they' | ||
- | PTB0- We are beginning to dive deeper into the fun toys that lie within our electronics kit. For this portion of the project we will need 2 LED,1 button and a speaker. As well as wires,and resistors. the goal here to to develop a code so that when a button is pressed a light flashes on and a speaker beeps at us. If the button is not being held down, then the other light should be a steady color. Doing this will require us to use if and else statements. If we use those correct for each of the separate components, then you will have a cool looking circuit. | + | PTB0- We are beginning to dive deeper into the fun toys that lie within our electronics kit. For this portion of the project we will need 2 LED,1 button and a speaker. As well as wires,and resistors. the goal here to to develop a code so that when a button is pressed a light flashes on and a speaker beeps at us. If the button is not being held down, then the other light should be a steady color. Doing this will require us to use if and else statements. If we use those correct for each of the separate components, then you will have a cool looking circuit.{{: |
- | PTB1- PTB1 was an extension of our previous project PTB0. We are now upgrading from using 4 single LEDs, to now using an entire bar. The bar consist of 10 separate " | + | PTB1- PTB1 was an extension of our previous project PTB0. We are now upgrading from using 4 single LEDs, to now using an entire bar. The bar consist of 10 separate " |
PTB2-In PTB2 were doing most of the same things that we used in ptb0 and ptb1. Only now were using a multicolored LED that will light up and can use hundreds of different colors. You will this by using 3 buttons, a multicolored LED, a rocker switch, GPIO pins and 1 kohm resistors and 220 kohm. This project will open us up to trying new coding lingo. We can also use if and else statements which are still ok to use in this. However, we have another tool to our disposal, that being, the array. An array is a way to group up an entire number of GPIO pins/ | PTB2-In PTB2 were doing most of the same things that we used in ptb0 and ptb1. Only now were using a multicolored LED that will light up and can use hundreds of different colors. You will this by using 3 buttons, a multicolored LED, a rocker switch, GPIO pins and 1 kohm resistors and 220 kohm. This project will open us up to trying new coding lingo. We can also use if and else statements which are still ok to use in this. However, we have another tool to our disposal, that being, the array. An array is a way to group up an entire number of GPIO pins/ |