{"id":27617881,"url":"https://github.com/dexterind/pxt-giggle","last_synced_at":"2025-08-24T16:11:00.479Z","repository":{"id":40571536,"uuid":"143796321","full_name":"DexterInd/pxt-giggle","owner":"DexterInd","description":"CLICK HERE. You found the main package for the GiggleBot!  This will load all the necessary blocks. ","archived":false,"fork":false,"pushed_at":"2022-05-02T18:14:48.000Z","size":586,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-22T02:53:09.116Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://gigglebot.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DexterInd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-07T00:05:34.000Z","updated_at":"2022-05-02T18:13:30.000Z","dependencies_parsed_at":"2022-08-09T23:22:00.230Z","dependency_job_id":null,"html_url":"https://github.com/DexterInd/pxt-giggle","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/DexterInd/pxt-giggle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DexterInd%2Fpxt-giggle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DexterInd%2Fpxt-giggle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DexterInd%2Fpxt-giggle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DexterInd%2Fpxt-giggle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DexterInd","download_url":"https://codeload.github.com/DexterInd/pxt-giggle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DexterInd%2Fpxt-giggle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271901151,"owners_count":24841115,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-24T02:00:11.135Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-23T04:57:27.980Z","updated_at":"2025-08-24T16:11:00.438Z","avatar_url":"https://github.com/DexterInd.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GiggleBot by Dexter Industries\nThis library provides blocks to control the Gigglebot, its motors, neopixels, sensors and servos.\nFor more information: https://www.gigglebot.io/pages/program-the-gigglebot-robot\n\n## Example Usage\n\n\n### Displaying a smile #lights-smileshow\nTo display a big red smile:\n\n```blocks\nlights.smileShow(NeoPixelColors.Red)\n```\n### Displaying a rainbow smile  #lights-smilerainbow\nBecause everyone loves rainbows, the Gigglebot can smile at you in rainbow colors. It's so happy it's giggling in colors!\n```blocks\nlights.smileRainbow()\n```\n\n### Cycling through the colors of the rainbow #lights-smilecyclerainbow\n\nYou can cycle through the colors of the rainbow if you want a dazzling smile! This block will cycle through the colors three times.\n```blocks\nlights.smileCycleRainbow(3)\n```\n\n### Control that rainbow #lights-smilecyclerainbowtime\nYou can control how the colors get cycled through, how long each color gets displayed, and how long the whole cycle lasts.\n```blocks\nlights.smileCycleRainbowTime(100, 3000)\n```\n\n### Use the smile to display a value #lights-smileshowgraph\n\nYou can use the smile to display a value visually. For example, the Gigglebot can give you an idea of how far it is from an object. The below code will show a full smile if there is no obstacle within a meter. Then leds will turn off one by one as the Gigglebot gets closer to the obstacle.\n\n```blocks\nbasic.forever(() =\u003e {\n    lights.smileShowGraph(gigglebot.distanceSensorReadRangeContinuous(), 1000)\n})\n```\n\n### Control the NeoPixels eyes #lights-whicheye\nYou can choose to change the eye colors to your heart content by using the Neopixels blocks. This variable block will allow you to decide which eye.\nThis will turn both eyes to green.\n```blocks\nlights.whichEye(gigglebotWhichEye.Both).showColor(neopixel.colors(NeoPixelColors.Green))\n```\n\n### More control over the NeoPixels smile #lights-smile\nYou can use the Neopixel blocks to control the smile. The following code would turn the lights off.\n```blocks\nlights.smile().clear()\n```\n\n## To use a second micro:bit as a remote control #remote-remotecontrolaction\nThis is a quick and rewarding project! You can control your Gigglebot by using a second microbit. You will need to have :\n* You will need a microbit in your hand, or on your head that we will call the microbit-controller.\n* You will need a microbit on the Gigglebot that will obey the microbit-controller.\n* The microbit-controller needs its own code to send radio messages to the gigglebot-microbit. The microbit-controller is unable to control the Gigglebot directly.\n* The gigglebot-microbit receives radio messages and translates them into gigglebot commands.\n\n#### On the remote micro:bit #remote-remotecontrol\n\nUse a second micro:bit as a remote control for your Gigglebot. Moving the remote hand-held microbit will control the Gigglebot.\nOn this micro:bit, put the following code:\n(note that the group number must be the same between remote and GiggleBot, and each pair must have a unique number)\n\n```blocks\nremote.setGroup(1)\nbasic.forever(function () {\n    remote.remoteControl()\n})\n\n```\n\n#### On your gigglebot's microbit #remote-onremotecontrol\n#### use the following blocks #remote-remotecontrolaction\n\nOn the gigglebot's micro:bit, put this code:\n(note that the group number must be the same between remote and GiggleBot, and each pair must have a unique number)\n```blocks\nremote.setGroup(1)\nremote.onRemoteControl(function () {\n    remote.remoteControlAction()\n})\n```\n\n## Supported targets\n\n* for PXT/microbit\n\n## License\n\nMIT License\n\nCopyright 2018 Dexter Industries\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n## Code of Conduct\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdexterind%2Fpxt-giggle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdexterind%2Fpxt-giggle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdexterind%2Fpxt-giggle/lists"}