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
//----------------------polje.h--------------------------------------------------------- | |
struct klijent{ | |
int a, b, c, d, starost; | |
char prezIme[50], datR[10], prioritet[20], transakcija[15]; | |
float stanjeKN, stanjeEUR; | |
}; | |
struct qu{ | |
klijent el[10000]; | |
int front, rear; |
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
import glob, re, os | |
counter = 1 | |
for filename in glob.glob('C:/littleBits_mp3/*.mp3'): | |
os.rename(filename, 'C:/littleBits_mp3/%d.mp3' % (counter,)) | |
counter = counter + 1 |
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
#include <WiFi101.h> | |
void handleWifiConnection() { | |
while ( WiFi.status() != WL_CONNECTED) { | |
Serial.print("### Wifi Connection - Attempt SSID: "); | |
Serial.println(ssid); | |
WiFi.begin(ssid, pass); | |
delay(5000); | |
} |
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
void runApplication() { | |
heartbeat(); | |
WiFi.noLowPowerMode(); | |
while(WiFi.status() != WL_CONNECTED){ | |
WiFi.begin(ssid, pass); | |
heartbeat(); | |
} | |
char buff[10]; |
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
[ | |
{ | |
"firstName": "Ivan", | |
"lastName": "Horvat", | |
"isAlive": true, | |
"age": 16, | |
"address": { | |
"streetAddress": "Najbolja ulica 11", | |
"city": "Cakovec" | |
}, |
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
{ | |
"name": "bok-arduino", | |
"version": "0.0.1", | |
"description": "Jednostavna web aplikacija!", | |
"main": "server.js", | |
"scripts": { | |
"start": "node server.js" | |
}, | |
"dependencies": { | |
"express": "^4.17.1" |
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
#include <ESP8266WiFi.h> | |
#include <WiFiClient.h> | |
#include <ESP8266HTTPClient.h> | |
String ssid = ""; | |
char pass[] = ""; | |
int port = 8080; | |
WiFiClient wifi; | |
int status = WL_IDLE_STATUS; |
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
#include <MD_Parola.h> | |
#include <MD_MAX72xx.h> | |
#include <SPI.h> | |
#include <WiFi101.h> | |
#include <BlynkSimpleWiFiShield101.h> | |
#define BLYNK_DEBUG | |
char auth[] = ""; //Blynk token | |
char ssid[] = "TICM-Uciona"; //Wifi ssid |
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
#include <SPI.h> | |
#include <WiFi101.h> | |
char ssid[] = ""; | |
char pass[] = ""; | |
int stanje_veze = WL_IDLE_STATUS; | |
WiFiServer server(80); | |
int led = 6; |
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
import sys | |
!{sys.executable} -m pip install wget opencv-python numpy matplotlib pylab-sdk |
OlderNewer