Changed to work with: http://redbearlab.com/blenano/

Dependents:   Garagem

Fork of RNG by Francois Berder

Revision:
3:75b4f86fb3aa
Parent:
2:2eb90943983b
--- a/Random.cpp	Tue Sep 17 18:18:15 2013 +0000
+++ b/Random.cpp	Sun Aug 30 01:06:04 2015 +0000
@@ -2,11 +2,11 @@
 #include "Crypto.h"
 
 static uint8_t pool[16];
-static AnalogIn e(p19),f(p20);
+static AnalogIn e(A3),f(A4);
 
 void Random::init()
 {
-    AnalogIn a(p15), b(p16), c(p17), d(p18);
+    AnalogIn a(A1), b(A0), c(A2), d(A5);
     
     uint16_t tmp = a.read_u16();
     memcpy(pool, &tmp, 2);