This file contains 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 routes | |
import ( | |
"time" | |
cors "github.com/gin-contrib/cors" | |
"github.com/gin-gonic/gin" | |
"github.com/hyperyuri/webapi-with-go/controllers" | |
) |
This file contains 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
float RGB1[3]; | |
float RGB2[3]; | |
float INC[3]; | |
int red, green, blue; | |
int RedPin = 11; | |
int GreenPin = 10; | |
int BluePin = 9; | |
This file contains 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
// Projeto FilipeFlop - Brilho LED PWM | |
int ledPin = 11; | |
float sinVal; | |
int ledVal; | |
void setup() { | |
pinMode(ledPin, OUTPUT); | |
} | |