René's URL Explorer Experiment


Title: Add optional argument to onRun · Issue #27 · ivanseidel/ArduinoThread · GitHub

Open Graph Title: Add optional argument to onRun · Issue #27 · ivanseidel/ArduinoThread

X Title: Add optional argument to onRun · Issue #27 · ivanseidel/ArduinoThread

Description: It would be great to be able to add an optional void (*arg) argument to onRun and have that passed to your callback. (poorly written) example void shutoff(void (*arg)) { uint8_t *pin = (uint8_t*)arg; digitalWrite(pin, LOW); } void setup(...

Open Graph Description: It would be great to be able to add an optional void (*arg) argument to onRun and have that passed to your callback. (poorly written) example void shutoff(void (*arg)) { uint8_t *pin = (uint8_t*)ar...

X Description: It would be great to be able to add an optional void (*arg) argument to onRun and have that passed to your callback. (poorly written) example void shutoff(void (*arg)) { uint8_t *pin = (uint8_t*)ar...

Opengraph URL: https://github.com/ivanseidel/ArduinoThread/issues/27

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add optional argument to onRun","articleBody":"It would be great to be able to add an optional `void (*arg)` argument to onRun and have that passed to your callback.\r\n\r\n(poorly written) example\r\n```\r\nvoid shutoff(void (*arg)) {\r\n  uint8_t *pin = (uint8_t*)arg;\r\n  digitalWrite(pin, LOW);\r\n}\r\n\r\nvoid setup() {\r\n  Thread t1 = Thread();\r\n  t1.onRun(shutoff, 1);\r\n\r\n  Thread t1 = Thread();\r\n  t1.onRun(shutoff, 2);\r\n}\r\n```\r\n\r\nThis will dramatically simplify code by not requiring individual callbacks for each thread that perform the same function.","author":{"url":"https://github.com/morganrallen","@type":"Person","name":"morganrallen"},"datePublished":"2017-07-16T20:33:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/27/ArduinoThread/issues/27"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2c255e48-fdda-a1ca-e230-70a2bce9ae63
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD6D6:18C2EF:46E687:5E3FBA:69696E5B
html-safe-nonce6d904c858f7a48da7151127fed70405eb055efc3faf7ab0a4303f76d46b65d23
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkQ2OjE4QzJFRjo0NkU2ODc6NUUzRkJBOjY5Njk2RTVCIiwidmlzaXRvcl9pZCI6IjEzMTE1NDUyMjcxMjEwOTQyMzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac570d3a0891dd9c52ba67c24cc06bca809dbb93a945ba3ebc1fb4a950ff60a0e1
hovercard-subject-tagissue:243264505
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ivanseidel/ArduinoThread/27/issue_layout
twitter:imagehttps://opengraph.githubassets.com/02ca4f2ca6993e38b93e97687ff32342d9d02259472b9ee6b329da2fd7a6cd0c/ivanseidel/ArduinoThread/issues/27
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/02ca4f2ca6993e38b93e97687ff32342d9d02259472b9ee6b329da2fd7a6cd0c/ivanseidel/ArduinoThread/issues/27
og:image:altIt would be great to be able to add an optional void (*arg) argument to onRun and have that passed to your callback. (poorly written) example void shutoff(void (*arg)) { uint8_t *pin = (uint8_t*)ar...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemorganrallen
hostnamegithub.com
expected-hostnamegithub.com
Nonec6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881
turbo-cache-controlno-preview
go-importgithub.com/ivanseidel/ArduinoThread git https://github.com/ivanseidel/ArduinoThread.git
octolytics-dimension-user_id3102127
octolytics-dimension-user_loginivanseidel
octolytics-dimension-repository_id9994728
octolytics-dimension-repository_nwoivanseidel/ArduinoThread
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id9994728
octolytics-dimension-repository_network_root_nwoivanseidel/ArduinoThread
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseec4d88fbe7ed62446d90b0a6d8e6db4248a8f8b8
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/ivanseidel/ArduinoThread/issues/27#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fivanseidel%2FArduinoThread%2Fissues%2F27
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fivanseidel%2FArduinoThread%2Fissues%2F27
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=ivanseidel%2FArduinoThread
Reloadhttps://github.com/ivanseidel/ArduinoThread/issues/27
Reloadhttps://github.com/ivanseidel/ArduinoThread/issues/27
Reloadhttps://github.com/ivanseidel/ArduinoThread/issues/27
ivanseidel https://github.com/ivanseidel
ArduinoThreadhttps://github.com/ivanseidel/ArduinoThread
Notifications https://github.com/login?return_to=%2Fivanseidel%2FArduinoThread
Fork 198 https://github.com/login?return_to=%2Fivanseidel%2FArduinoThread
Star 968 https://github.com/login?return_to=%2Fivanseidel%2FArduinoThread
Code https://github.com/ivanseidel/ArduinoThread
Issues 11 https://github.com/ivanseidel/ArduinoThread/issues
Pull requests 6 https://github.com/ivanseidel/ArduinoThread/pulls
Actions https://github.com/ivanseidel/ArduinoThread/actions
Projects 0 https://github.com/ivanseidel/ArduinoThread/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/ivanseidel/ArduinoThread/security
Please reload this pagehttps://github.com/ivanseidel/ArduinoThread/issues/27
Insights https://github.com/ivanseidel/ArduinoThread/pulse
Code https://github.com/ivanseidel/ArduinoThread
Issues https://github.com/ivanseidel/ArduinoThread/issues
Pull requests https://github.com/ivanseidel/ArduinoThread/pulls
Actions https://github.com/ivanseidel/ArduinoThread/actions
Projects https://github.com/ivanseidel/ArduinoThread/projects
Security https://github.com/ivanseidel/ArduinoThread/security
Insights https://github.com/ivanseidel/ArduinoThread/pulse
New issuehttps://github.com/login?return_to=https://github.com/ivanseidel/ArduinoThread/issues/27
New issuehttps://github.com/login?return_to=https://github.com/ivanseidel/ArduinoThread/issues/27
Add optional argument to onRunhttps://github.com/ivanseidel/ArduinoThread/issues/27#top
https://github.com/morganrallen
https://github.com/morganrallen
morganrallenhttps://github.com/morganrallen
on Jul 16, 2017https://github.com/ivanseidel/ArduinoThread/issues/27#issue-243264505
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.