Skip to content

Instantly share code, notes, and snippets.

View techieforgood's full-sized avatar
👋

Sib techieforgood

👋
View GitHub Profile
from ctypes import *
from time import sleep
from mcculw import ul
from mcculw.enums import ScanOptions, FunctionType, Status, InterfaceType, ULRange, ErrorCode
from mcculw.device_info import DaqDeviceInfo
def config_first_detected_device(board_num, dev_id_list=None):
"""Adds the first available device to the UL. If a types_list is specified,
<script>
var coords = [
["\u003cimg src='https://1313-judith9-hugowebsite-hznhugygsrs.ws-us64.gitpod.io//images/sp.jpg' class='rounded-t-md w-full' alt='1st place in Sao Paulo' /\u003e \u003cdiv class=\"mb-5\"\u003e \u003ca href='https://1313-judith9-hugowebsite-hznhugygsrs.ws-us64.gitpod.io/en/sao-paulo/a-place-in-sao-paulo/'\u003e \u003ch2 class='text-2xl text-primary pt-3 font-light'\u003e1st place in Sao Paulo\u003c/h2\u003e \u003c/a\u003e \u003cp class='text-black text-opacity-50 text-sm text-light'\u003eSome address 3\u003c/p\u003e \u003ca href='https://1313-judith9-hugowebsite-hznhugygsrs.ws-us64.gitpod.io/en/sao-paulo/a-place-in-sao-paulo/' class='border text-md border-primary text-primary hover:border-secondary hover:text-secondary transition-all px-2 py-2 rounded-md'\u003e View Details \u003c/a\u003e \u003c/div\u003e", 1.23 , 2.34 ],
["\u003cimg src='https://1313-judith9-hugowebsite-hznhugygsrs.ws-us64.gitpod.io//images/sp.jpg' class='rounded-t-md w-full' alt='Avenida Paulista