================================================================= Linker mezzanine card starter kit for 96Boards Python experiments ================================================================= The following examples demonstrate some of the capabilities of the libsoc_zero library. Please note that all examples are written assuming Python 3. Examples may work under Python 2 (but they may not!) Red LED Module [118101001-5] ---------------------------- Turn an LED on and off repeatedly .. image:: http://linksprite.com/wiki/images/e/ed/5mm_red_led.jpg :target: http://linksprite.com/wiki/index.php5?title=5mm_Red_LED_Module :alt: Linker Red LED Module .. literalinclude:: ../examples/LED.py Button Module [118101002] ------------------------- Detect if the button has been pressed .. image:: http://linksprite.com/wiki/images/0/0a/Linker_button.jpg :target: http://linksprite.com/wiki/images/0/0a/Linker_button.jpg :alt: Linker Button Module .. literalinclude:: ../examples/button.py Wait for button to be pressed and then switch LED on (or off) .. literalinclude:: ../examples/button_wait.py Touch Sensor Module [118101007] ------------------------------- Detect when the sensor is touched .. image:: http://linksprite.com/wiki/images/9/92/Touch_sensor_module.jpg :target: http://linksprite.com/wiki/images/9/92/Touch_sensor_module.jpg :alt: Linker Touch Sensor Module .. literalinclude:: ../examples/touch.py Don't finish program until sensor is touched .. literalinclude:: ../examples/touch_wait.py Tilt Module [118101004] ----------------------- Detect when the sensor has been tilted .. image:: http://linksprite.com/wiki/images/a/aa/N10DH_WITHOUT_PACKAGED_FRONT.jpg :target: http://linksprite.com/wiki/index.php5?title=Tilt_Module :alt: Linker Tilt Module .. literalinclude:: ../examples/tilt.py Relay Module [118101008] ------------------------ .. image:: http://linksprite.com/wiki/images/8/86/Linker_relay_module.jpg :target: http://linksprite.com/wiki/index.php5?title=File:Linker_relay_module.jpg :alt: Linker Relay Module Linear/Slide Potentiometer Module [118101006] --------------------------------------------- .. image:: http://linksprite.com/wiki/images/b/b7/Sliding_potentiometer.jpg :target: http://linksprite.com/wiki/index.php5?title=Linear/Slide_Potentiometer_Module :alt: Linker Potentiometer Module Light Sensor Module [118101003] ------------------------------- .. image:: http://linksprite.com/wiki/images/c/cb/N17DH_WITHOUT_PACKAGED_FRONT.jpg :target: http://linksprite.com/wiki/index.php5?title=LDR_Module :alt: Linker Light Sensor Module Thermal Module [118101005] -------------------------- .. image:: http://linksprite.com/wiki/images/a/a4/N11DH_WITHOUT_PACKAGED_FRONT.jpg :target: http://linksprite.com/wiki/index.php5?title=Thermal_Module :alt: Linker Thermal Module Joystick Sensor Module [] ------------------------- .. image:: http://linksprite.com/wiki/images/e/e5/N15DH_WITHOUT_PACKAGED_FRONT.jpg :target: http://linksprite.com/wiki/index.php5?title=Joystick_Sensor_Module :alt: Linker Joystick Module