Skip to content

Instantly share code, notes, and snippets.

View AlexanderSavochkin's full-sized avatar

Alexander Savochkin AlexanderSavochkin

View GitHub Profile
@AlexanderSavochkin
AlexanderSavochkin / software_serial_ino.ino
Created July 23, 2014 20:52
Software serial interconnection
#include <SoftwareSerial.h>
SoftwareSerial softSerial(10, 11); // RX, TX
enum { LED_PIN = 13 };
void setup()
{
pinMode(LED_PIN, OUTPUT);
softSerial.begin(9600);
@AlexanderSavochkin
AlexanderSavochkin / dijkstra.hs
Created June 10, 2013 06:59
This is example of using STArray for Dijkstra algorithm implementation in Haskell.
{--
Author: Alexander Savochkin
This is example of using STArray for Dijkstra algorithm implementation in Haskell.
--}
module Main where
import Data.Char
import Data.Array
import Data.Array.ST