diff --git a/pixel.cpp b/pixel.cpp
index ade26af837867ac4b05aae285633eaa31972fc37..8733c45dc4dfefacb1d08d3eb858a68f8a179610 100644
--- a/pixel.cpp
+++ b/pixel.cpp
@@ -131,4 +131,8 @@ int dec = 0, i = 7, b=0,rem=0;
     return dec;
 }
 
+void toAscii(char c) {
+    int n=(int)c;
+    key=(char)n;
+}