This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"strconv" | |
"strings" | |
) | |
var ( | |
// n is the number of terms to calculate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Pins | |
int redled = 11; | |
int greenled = 10; | |
int blueled = 9; | |
int an2 = 2; | |
//Colours | |
int red = 255; | |
int green = 255; | |
int blue = 255; |
NewerOlder