- https://www.pycom.io/solutions/py-boards/wipy1/
- Connect VIN (3.6 - 5.5V) and GND.
- Search for a WiFi network that starts with wipy-wlan.
- With your PC connect using www.wipy.io as password.
- In order to get to the Python REPL, telnet to 192.168.1.1 (user=micro, password=python).
- The file system is accessible via FTP on the same IP address abd with the same credentials.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import itertools | |
# Microkanren programs are 'goal' functions that take in a | |
# state and return a stream of states that satisfy the given goal. | |
# I am interested about microkanren because it presents a logic | |
# programming kernel which fits into a dynamically typed language. | |
# Anything could go as a variable, but I wanted names for variables. | |
class Variable(object): |