Skip to content

Instantly share code, notes, and snippets.

mackox

Block or report user

Report or block mackox

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:8a1b063b24946cf05b895938751d4a3f
void setup() {
// put your setup code here, to run once:
pinMode(8,OUTPUT); //DIODA 1
pinMode(9,OUTPUT); //DIODA 2
pinMode(10,OUTPUT); // DIODA 3
pinMode(11,OUTPUT); // DIODA 4
pinMode(12,OUTPUT); // BUZZER
pinMode(13,INPUT); // input dla przycisku
}
View gist:305e4b79c0210c3a049c
#include <iostream>
using namespace std;
int main()
{
double tab[10] = { 7, 8, 6, 4, 5, 9, 0, 3, 1, 2 };
double srednia = 0;
for (int i = 0; i < 10; i++)
{
cout << tab[i] << "\t";
}
You can’t perform that action at this time.