lib: Update libs to use correctly ascii and code_point
[nit.git] / lib / bcm2835 / bcm2835.nit
index dad9899..48f0ed2 100644 (file)
@@ -442,10 +442,10 @@ class HD44780
                                #write(true, "C0".to_hex)
                                # instead we use the following which may not be portable
 
-                               for s in [count..40[ do write(false, ' '.ascii)
+                               for s in [count..40[ do write(false, ' '.code_point)
                                count = 0
                        else
-                               write(false, c.ascii)
+                               write(false, c.code_point)
                                count += 1
                        end
                end