Chibitronics Love To Code board editor with Microsoft MakeCode
Перейти к файлу
microsoft-github-policy-service[bot] 6209706947
Microsoft mandatory file (#269)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2022-08-17 10:12:33 -07:00
.github/ISSUE_TEMPLATE
cmds
docs Releasing 0.1.76 for appcache fix (#260) 2020-09-09 16:39:31 -07:00
editor Make Control category name localizable (#232) 2018-06-15 13:26:34 -07:00
libs Fix twinkle effect (#245) 2018-09-13 09:11:55 -07:00
sim
theme
windowsapp
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE.txt
README.md updated readme 2018-10-29 10:04:26 -07:00
SECURITY.md Microsoft mandatory file (#269) 2022-08-17 10:12:33 -07:00
THIRD-PARTY-NOTICES.txt
faviconDescription.json
package-lock.json 0.2.1 2020-09-09 16:45:56 -07:00
package.json 0.2.1 2020-09-09 16:45:56 -07:00
ptrcheck-ignore
pxtarget.json
targetconfig.json
travis-tests.sh
tslint.json
webmanifest.json

README.md

chibitronics target for PXT

Build Status Community Discord

This target allow to program a Chibi Chip using PXT (Microsoft Programming Experience Toolkit).

Local server

The local server allows to run the editor and the documentation from your computer.

Setup

The following commands are a 1-time setup after synching the repo on your machine.

git clone https://github.com/microsoft/pxt-chibitronics
cd pxt-chibitronics
  • install the PXT command line (add sudo for Mac/Linux shells).
npm install -g pxt
  • install the dependencies
npm install
  • install platformio command line:
python2 -m pip install -U platformio
  • install the ltc platform:
platformio platform install https://github.com/xobs/platformio-ltc

Running

Run this command to open a local web server (add sudo for Mac/Linux shells)

pxt serve

If the local server opens in the wrong browser, make sure to copy the URL containing the local token. Otherwise, the editor will not be able to load the projects.

If you need modify the .cpp files, turn on yotta compilation with the -yt flag (add sudo for Mac/Linux shells):

pxt serve -yt

Updates

To update your PXT version and make sure you're running the latest tools, run (add sudo for Mac/Linux shells)

pxt update

More instructions at https://github.com/Microsoft/pxt#running-a-target-from-localhost