symbol-def (#1)
Started branch to add `pform`, ended up pulling in `symbol-def` from the forums. Also adds the editor code from the T-Deck. Reviewed-on: kyle/ulisp-picocalc#1 Co-authored-by: Kyle Isom <kyle@imap.cc> Co-committed-by: Kyle Isom <kyle@imap.cc>
This commit is contained in:
@@ -17,12 +17,12 @@ the stream, which follows the 'format directives."
|
|||||||
(return))
|
(return))
|
||||||
(write-byte data writer))))))
|
(write-byte data writer))))))
|
||||||
|
|
||||||
(defun i2c-scan (port)
|
(defun i2c-scan (port)
|
||||||
(dotimes (addr 127)
|
(dotimes (addr 127)
|
||||||
(with-i2c (str port addr)
|
(with-i2c (str port addr)
|
||||||
(when str (print addr)))))
|
(when str (print addr)))))
|
||||||
|
|
||||||
(defun i2c-scan2 (port)
|
(defun i2c-scan2 (port)
|
||||||
(dotimes (addr 127)
|
(dotimes (addr 127)
|
||||||
(with-i2c (str port addr)
|
(with-i2c (str port addr)
|
||||||
(format t "~,20'x: " addr)
|
(format t "~,20'x: " addr)
|
||||||
|
|||||||
Reference in New Issue
Block a user