10000 ev3-power-functions/README.md at main · codeadamca/ev3-power-functions · GitHub
[go: up one dir, main page]

Skip to content
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"_readme","path":"_readme","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"main.py","path":"main.py","contentType":"file"}],"totalCount":4}},"fileTreeProcessingTime":7.080144,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":284791022,"defaultBranch":"main","name":"ev3-power-functions","ownerLogin":"codeadamca","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2020-08-03T19:39:47.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/12630767?v=4","public":true,"private":false,"isOrgOwned":false},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"main","listCacheKey":"v0:1642035626.725324","canEdit":false,"refType":"branch","currentOid":"97e2ea400eea1271c3dbad5fb6526a7a377a0d5b"},"path":"README.md","currentUser":null,"blob":{"rawLines":null,"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/codeadamca/ev3-power-functions/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"README.md","displayUrl":"https://github.com/codeadamca/ev3-power-functions/blob/main/README.md?raw=true","headerInfo":{"blobSize":"1.19 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"bfbe319","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fcodeadamca%2Fev3-power-functions%2Fblob%2Fmain%2FREADME.md","isCSV":false,"isRichtext":true,"toc":[{"level":1,"text":"LEGO® EV3 and LEGO Power Functions","anchor":"lego-ev3-and-lego-power-functions","htmlText":"LEGO® EV3 and LEGO Power Functions"},{"level":2,"text":"Repo Resources","anchor":"repo-resources","htmlText":"Repo Resources"}],"lineInfo":{"truncatedLoc":"23","truncatedSloc":"15"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Markdown","languageID":222,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/codeadamca/ev3-power-functions/blob/main/README.md","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/codeadamca/ev3-power-functions/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/codeadamca/ev3-power-functions/raw/refs/heads/main/README.md","renderImageOrRaw":false,"richText":"\u003carticle class=\"markdown-body entry-content container-lg\" itemprop=\"text\"\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch1 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eLEGO® EV3 and LEGO Power Functions\u003c/h1\u003e\u003ca id=\"user-content-lego-ev3-and-lego-power-functions\" class=\"anchor\" aria-label=\"Permalink: LEGO® EV3 and LEGO Power Functions\" href=\"#lego-ev3-and-lego-power-functions\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eA Python snippet to test the use of LEGO Power Functions with the LEGO EV3 Brick. This code uses \u003ca href=\"https://pybricks.com/\" rel=\"nofollow\"\u003ePybricks\u003c/a\u003e and an EV3 to Power Functions converter. The converter instructions are available from \u003ca href=\"https://www.bartneck.de/2015/06/0\" rel=\"nofollow\"\u003eChristoph Bartneck, Ph.D.\u003c/a\u003e and \u003ca href=\"https://www.youtube.com/watch?v=Ns3TODgRlCE\" rel=\"nofollow\"\u003eTechnicRobot\u003c/a\u003e.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThis example activates any Power Functions light and/or motor using full speed forward and full speed reverse. This example was desgned to test if the homemade EV3 to Power Functions converter works with the official \u003ca href=\"https://education.lego.com/en-us/support/mindstorms-ev3/python-for-ev3\" rel=\"nofollow\"\u003eLEGO EV3 Python setup\u003c/a\u003e.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"/codeadamca/ev3-power-functions/blob/main/_readme/connection-diagram.jpg\"\u003e\u003cimg src=\"/codeadamca/ev3-power-functions/raw/main/_readme/connection-diagram.jpg\" alt=\"Connection Diagram\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003eDiagaram taken from TechnicRobot:\u003cbr\u003e\n\u003ca href=\"https://www.youtube.com/watch?v=Ns3TODgRlCE\" rel=\"nofollow\"\u003ehttps://www.youtube.com/watch?v=Ns3TODgRlCE\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003chr\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eRepo Resources\u003c/h2\u003e\u003ca id=\"user-content-repo-resources\" class=\"anchor\" aria-label=\"Permalink: Repo Resources\" href=\"#repo-resources\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"https://www.youtube.com/@TechnicRobot/about\" rel=\"nofollow\"\u003eTechnicRobot\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://pybricks.com/\" rel=\"nofollow\"\u003ePybricks\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.bartneck.de/2015/06/0\" rel=\"nofollow\"\u003eChristoph Bartneck, Ph.D.\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cbr\u003e\n\u003ca href=\"https://codeadam.ca\" rel=\"nofollow\"\u003e\n\u003cimg src=\"https://camo.githubusercontent.com/cfdb428f2f4e62a0f29fd7891b8b455aed140916b42af2b2bc34ce142d266aab/68747470733a2f2f63646e2e636f64656164616d2e63612f696d6167657340312e302e302f636f64656164616d2d6c6f676f2d636f6c6f757265642d686f72697a6f6e74616c2e706e67\" width=\"200\" data-canonical-src=\"https://cdn.codeadam.ca/images@1.0.0/codeadam-logo-coloured-horizontal.png\" style=\"max-width: 100%;\"\u003e\n\u003c/a\u003e\n\u003c/article\u003e","renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"LEGO® EV3 and LEGO Power Functions","kind":"section_1","ident_start":2,"ident_end":37,"extent_start":0,"extent_end":1216,"fully_qualified_name":"LEGO® EV3 and LEGO Power Functions","ident_utf16":{"start":{"line_number":0,"utf16_col":2},"end":{"line_number":0,"utf16_col":36}},"extent_utf16":{"start":{"line_number":0,"utf16_col":0},"end":{"line_number":23,"utf16_col":0}}},{"name":"Repo Resources","kind":"section_2","ident_start":896,"ident_end":910,"extent_start":893,"extent_end":1216,"fully_qualified_name":"Repo Resources","ident_utf16":{"start":{"line_number":13,"utf16_col":3},"end":{"line_number":13,"utf16_col":17}},"extent_utf16":{"start":{"line_number":13,"utf16_col":0},"end":{"line_number":23,"utf16_col":0}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/codeadamca/ev3-power-functions/branches":{"post":"Vs2PAMm-TY2YdvPCer6sRrElMphqXMQZRrBs2-SI_2h6NqeZ2jhXs3dqlkHMx_cH3NHhftK2nZuEUC7Hl2CTig"},"/repos/preferences":{"post":"CbcV1dhyg_L87lNPhCtF2BCLzJbwsP71asrkUGNfkpCm63Ieoy9tKuj3YqMF-y1xeWFSS32IUSqFOpLMne4Gxw"}}},"title":"ev3-power-functions/README.md at main · codeadamca/ev3-power-functions","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-263cab1760dd.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1b17b3e7786a.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true}}}
0