Commit Graph

358 Commits

Author SHA1 Message Date
Peli de Halleux
0648e80131 added serial.redirect 2016-05-26 11:07:09 -07:00
Peli de Halleux
1c8fa5eab6 move pins->map up in block list 2016-05-24 21:39:57 -07:00
Peli de Halleux
4e56342e52 updated docs 2016-05-20 05:40:54 -07:00
Peli de Halleux
7273354944 support for 3g/6g gestures 2016-05-20 05:39:44 -07:00
Peli de Halleux
c65bdb34af various docs updates 2016-05-19 13:56:24 -07:00
Peli de Halleux
9a36a2fc05 removing serial event (not supported in DAL) 2016-05-19 13:39:28 -07:00
Peli de Halleux
0b226bc9aa updated category colors theme 2016-05-19 11:59:57 -07:00
Peli de Halleux
f2bab5d122 missing async annotation on serial 2016-05-19 10:53:48 -07:00
Peli de Halleux
bfac2910da tentative serial fix for #66 2016-05-18 11:57:10 -07:00
Peli de Halleux
5e024c6f23 added test package 2016-05-17 10:42:44 -07:00
Peli de Halleux
2e3d875b7d added serial events 2016-05-17 09:36:01 -07:00
Peli de Halleux
845d7a004c updated docs 2016-05-16 22:18:58 -07:00
Peli de Halleux
89f09c7f35 added pins->on pulsed 2016-05-16 16:24:44 -07:00
Peli de Halleux
879a85bdbb exposing i2c blocks in pins 2016-05-13 03:38:52 -07:00
Peli de Halleux
b4bc985068 upgraded to lancaster 2.0.0.rc3 (core 0.1.9)
added radio.send/receive string
2016-05-12 12:35:40 -07:00
Peli de Halleux
a62f2b00b4 updated radio apis to support key/value pair 2016-05-10 21:13:16 -07:00
Peli de Halleux
7d0101af25 marking various radio functions as debug until API is stable 2016-05-10 16:42:18 -07:00
Peli de Halleux
2cc6f864a8 remove logging 2016-05-10 10:26:36 -07:00
Peli de Halleux
47f9362e5f read radio values 2016-05-10 10:14:51 -07:00
Peli de Halleux
fcfdbcc7e4 moving block down category 2016-05-09 23:03:42 -07:00
Peli de Halleux
5884231399 null terminated name 2016-05-09 23:01:20 -07:00
Peli de Halleux
e8887f5904 radio blocks to read/stream value pairs 2016-05-09 22:55:37 -07:00
Peli de Halleux
b33d0ba470 updated strings 2016-05-06 14:17:39 -07:00
Peli de Halleux
f854dfd9c8 updated generated docs 2016-05-05 12:32:40 -07:00
Peli de Halleux
d905f24f9c updated generated strings.json 2016-05-05 11:32:35 -07:00
Peli de Halleux
81b8b1b69c updated docs 2016-05-05 11:16:14 -07:00
Peli de Halleux
04a60a5b47 fixing various lint violations 2016-05-04 23:31:55 -07:00
Peli de Halleux
db0c5d9f9f exposing serial number block. 2016-04-28 10:46:03 -07:00
Michal Moskal
6c539fb04f Add some debugger hooks 2016-04-27 19:26:55 +01:00
Peli de Halleux
ac942e198a missed file in previous checkin 2016-04-26 17:09:27 -07:00
Peli de Halleux
cef1f57e30 expose device serial number in javascript 2016-04-26 17:09:15 -07:00
Peli de Halleux
55859b1237 support for exposing device name 2016-04-26 13:43:02 -07:00
Peli de Halleux
512e40fae3 clearer api name in serial 2016-04-26 12:19:42 -07:00
Peli de Halleux
10d44b97cc more serial infos 2016-04-26 10:29:05 -07:00
Peli de Halleux
e746c13212 don't filter or throttle serial, let the user deal with it. 2016-04-22 13:12:43 -07:00
Peli de Halleux
9e073aee36 fixing doc links. fix for #49 2016-04-22 12:37:47 -07:00
Peli de Halleux
d89747fa46 typo in default value 2016-04-22 00:14:57 -07:00
Peli de Halleux
5232be58ce auto adjusting bar graph + debouncing sending data over serial 2016-04-21 23:44:22 -07:00
Michal Moskal
c54cd21efa Don't go through uBit object if not needed 2016-04-19 11:52:44 -07:00
Peli de Halleux
13bdcf762d updated dal definition 2016-04-19 09:43:23 -07:00
Peli de Halleux
0c7d49256d don't use blockStatement anymore 2016-04-18 13:31:05 -07:00
Peli de Halleux
5e23bc96ca don't expose storage in blocks 2016-04-18 09:21:11 -07:00
Peli de Halleux
4795c58e97 initial blocks for storage 2016-04-16 07:45:04 -07:00
Peli de Halleux
8fb96934ca panic when radio does not start 2016-04-15 22:41:30 -07:00
Peli de Halleux
cd91504c1f fix help urls 2016-04-15 16:54:44 -07:00
Peli de Halleux
26841de6cf bring back 'write number' 2016-04-15 16:40:51 -07:00
Peli de Halleux
67c5f0612a added serial docs 2016-04-15 16:36:31 -07:00
Peli de Halleux
3a434197a3 updated neopixel 2016-04-15 07:42:52 -07:00
Peli de Halleux
db4692843f fixing text scroll on simulator 2016-04-14 21:42:02 -07:00
Michal Moskal
b9f17c3143 Re-generate for new DAL 2016-04-14 17:58:10 -07:00
Peli de Halleux
10e3fdf007 upated to 0.1.7. fixing rename issues 2016-04-14 14:29:28 -07:00
Peli de Halleux
f7531ea9b0 fix for #4 2016-04-13 08:55:20 -07:00
Peli de Halleux
8e27d596aa making neopixels block friendly 2016-04-12 22:09:03 -07:00
Michal Moskal
a0a0554633 Add String.substr 2016-04-12 19:08:26 -07:00
Michal Moskal
df92a3daae Remove unused file 2016-04-12 18:51:56 -07:00
Michal Moskal
26985f2813 Default enum arguments not supported yet 2016-04-12 17:57:16 -07:00
Michal Moskal
e63b764568 Merge branch 'master' of github.com:Microsoft/kindscript-microbit 2016-04-12 17:10:46 -07:00
Michal Moskal
ef821e4b8b Add missing Image methods 2016-04-12 17:10:37 -07:00
Michal Moskal
c1a4a55e2b Fix typo 2016-04-11 20:54:26 -07:00
Michal Moskal
abc9e90cb9 Add control.panic and control.assert 2016-04-11 19:44:49 -07:00
Michal Moskal
3119bcc625 Fix note block names 2016-04-11 19:44:39 -07:00
Michal Moskal
ce53d5c386 Renaming stuff in the simulator 2016-04-07 12:52:02 -07:00
Michal Moskal
08b9b10ac8 Files renamed 2016-04-07 11:41:39 -07:00
Michal Moskal
92d8adfdbd Rename json files 2016-04-07 11:30:07 -07:00
Peli de Halleux
b80edb43fc removing some serial functions 2016-04-06 07:00:34 -07:00
Peli de Halleux
6c9b609fe0 annotate math namespace 2016-04-06 06:16:59 -07:00
Peli de Halleux
baf2c3247f Merge branch 'master' of https://github.com/Microsoft/kindscript-microbit 2016-04-05 20:49:54 -07:00
Michal Moskal
c9536b0cf2 Use constant for end of memory 2016-04-05 19:19:27 -07:00
Michal Moskal
7fd7e15bd4 Add README.md to kind.json 2016-04-05 19:02:12 -07:00
Michal Moskal
948b0ef304 Add readme to neopixel 2016-04-05 18:21:24 -07:00
Michal Moskal
715771b991 Add readme to i2c fram module 2016-04-05 18:21:15 -07:00
Michal Moskal
65d48f4b02 Add FRAM driver 2016-04-05 17:25:45 -07:00
Peli de Halleux
283c331a5e moving namespace docs 2016-04-05 16:54:09 -07:00
Peli de Halleux
ba96e94fa7 added jsdoc 2016-04-05 16:52:50 -07:00
Peli de Halleux
761e4f38cd adding namespace descriptions 2016-04-05 15:59:25 -07:00
Michal Moskal
47e3737245 Use common helpers/core 2016-04-04 21:18:16 -07:00
Michal Moskal
b8d5ec853e Prep for moving common stuff out to main ks 2016-04-04 20:28:08 -07:00
Michal Moskal
d62c10d278 Use the improved default parameters 2016-04-04 19:11:33 -07:00
Michal Moskal
bd7430b642 Add Buffer.get/setNumber and i2c methods 2016-04-04 19:02:40 -07:00
Michal Moskal
61fd28d840 Move all target stuff to kindtarget.json 2016-04-04 18:03:52 -07:00
Michal Moskal
c33df897d5 Remove unused code 2016-04-04 12:56:57 -07:00
Michal Moskal
c661fd0eca Neopixel seems to work 2016-04-03 17:49:35 -07:00
Michal Moskal
8a124812b6 First draft of neopixel 2016-04-03 17:38:50 -07:00
Michal Moskal
02c41b59bd Add Buffer; go to core v0.1.5 2016-04-03 16:52:57 -07:00
Michal Moskal
87b6e0aba1 Make lang-test0 work 2016-04-02 21:34:29 -07:00
Michal Moskal
5d40750542 Add missing control stuff 2016-04-02 20:47:27 -07:00
Michal Moskal
4e23553824 Naming fixes 2016-04-02 20:35:22 -07:00
Michal Moskal
9b68519aff Disable two image blocks - they crash block injection 2016-04-02 18:09:31 -07:00
Michal Moskal
e6dc3b8974 Remove shims 2016-04-02 17:49:31 -07:00
Michal Moskal
53634f4d6a Convert bluetooth to new style 2016-04-02 17:47:49 -07:00
Michal Moskal
3ee0c6ea42 Radio stuff moved for new style 2016-04-02 17:34:06 -07:00
Michal Moskal
ef098cbd28 Use -core v0.1.2 2016-04-02 14:18:10 -07:00
Michal Moskal
356b17cb13 Moving lang-test0 from kindscript main 2016-04-02 14:18:00 -07:00
Michal Moskal
47d382135b Use new APIs in the core 2016-04-02 13:44:29 -07:00
Michal Moskal
241da7fbed Add remaining shims 2016-04-02 11:22:36 -07:00
Michal Moskal
feb17c5e45 Remove remaining external shims 2016-04-01 22:46:06 -07:00
Michal Moskal
6559f386d2 Move most of core stuff 2016-04-01 22:32:33 -07:00
Michal Moskal
6bf46577f9 Migrate serial 2016-04-01 22:00:42 -07:00
Michal Moskal
0130ecb0c2 Remove shim=s 2016-04-01 21:53:50 -07:00
Michal Moskal
9820a035ce Migrate LED shims 2016-04-01 21:52:25 -07:00
Michal Moskal
88acd9254d Remove redundant shim annotations 2016-04-01 21:27:22 -07:00
Michal Moskal
650fe61dcd Move more stuff to C++ 2016-04-01 21:26:06 -07:00
Michal Moskal
f58508afa2 Event implementation 2016-04-01 19:59:14 -07:00
Michal Moskal
4b92de7516 Implement Images 2016-04-01 19:55:51 -07:00
Michal Moskal
6176963504 Fix pin names 2016-04-01 18:29:39 -07:00
Michal Moskal
a33472dbd4 Merge branch 'master' of github.com:Microsoft/kindscript-microbit 2016-04-01 18:18:33 -07:00
Michal Moskal
746dc5d5ab Proper BLE setup 2016-04-01 18:01:44 -07:00
Michal Moskal
70bd81d9c2 Generate enums from C++ 2016-04-01 17:45:18 -07:00
Peli de Halleux
a2310f150f mergin changes 2016-04-01 14:44:11 -07:00
Peli de Halleux
b4d7cbc1f0 updated kind.json 2016-04-01 14:43:10 -07:00
Michal Moskal
d54baaca51 Use the new enum syntax in devices as well 2016-04-01 14:18:11 -07:00
Michal Moskal
7c564ebaab Export constants from DAL in dal.d.ts 2016-04-01 14:14:57 -07:00
Michal Moskal
4b3efd434e Add C++ compile config 2016-04-01 10:29:25 -07:00
Michal Moskal
68143500da Use enum initializers not enumval= where possible 2016-04-01 09:17:41 -07:00
Peli de Halleux
68d22947bb adding simulator options 2016-03-31 20:46:11 -07:00
Michal Moskal
a7a91459ff Packages published 2016-03-31 17:27:11 -07:00
Michal Moskal
6341f795c6 Fix microbit ref 2016-03-31 12:10:30 -07:00
Michal Moskal
5922135073 Merge branch 'cpp' 2016-03-30 16:27:32 -07:00
Michal Moskal
b76b32a825 Move C++ sim stuff to proper namespace 2016-03-30 15:53:00 -07:00
Peli de Halleux
0d321114c0 updated color 2016-03-30 10:46:40 -07:00
Michal Moskal
61dd0075b2 Fix build 2016-03-29 19:13:46 -07:00
Michal Moskal
45aa780934 C++ fixes 2016-03-29 17:56:01 -07:00
Michal Moskal
0ccddf9fe8 Start on direct CPP migration 2016-03-29 17:11:17 -07:00
Peli de Halleux
664b841b1c updated enum annotation to support patching 2016-03-28 22:16:07 -07:00
Peli de Halleux
c9f927b0bf no hats on advanced events 2016-03-28 20:56:09 -07:00
Peli de Halleux
cd83780737 Merge branch 'master' of https://github.com/Microsoft/kindscript-microbit 2016-03-28 14:33:27 -07:00
Peli de Halleux
4a615f44f1 updated serial filters 2016-03-28 14:33:24 -07:00
Michal Moskal
995d81efe0 Merge branch 'master' of github.com:Microsoft/kindscript-microbit
Conflicts:
	libs/microbit/kind.json
2016-03-28 13:19:06 -07:00
Michal Moskal
20ab513816 Move theme to kindtheme.json 2016-03-28 13:17:31 -07:00
Peli de Halleux
297198697f disable sign in for users 2016-03-28 12:52:13 -07:00
Peli de Halleux
64c6700eb5 support for serial 2016-03-28 10:49:36 -07:00
Peli de Halleux
e9bd0050d7 better bus support 2016-03-28 00:23:00 -07:00
Peli de Halleux
7bb8f480ae disabling shims 2016-03-28 00:11:45 -07:00
Peli de Halleux
2b647b2940 raise event/ on event blocks 2016-03-28 00:09:44 -07:00
Peli de Halleux
c25049ee5f adding control blocks 2016-03-25 21:13:09 -07:00
Peli de Halleux
d281961fbd added docs 2016-03-24 08:49:56 -07:00
Peli de Halleux
38d2cf06d2 Making all enum consistently singular (breaking) 2016-03-24 08:26:55 -07:00
Peli de Halleux
2415b146fa more docs 2016-03-23 12:55:36 -07:00
Peli de Halleux
9fbc17c8ce updated docs paths 2016-03-21 22:13:39 -07:00
Peli de Halleux
3d3332faa1 removed default value for plotbargraph 2016-03-21 16:49:21 -07:00
Peli de Halleux
c5e4beab96 better sized logo 2016-03-18 06:34:40 -07:00
Michal Moskal
a9db4f59e7 Merge branch 'master' of github.com:Microsoft/kindscript-microbit 2016-03-18 09:04:11 +01:00
Peli de Halleux
78a0b314cd updated target 2016-03-18 00:04:08 -07:00
Peli de Halleux
8fe1bf8c5f added logos 2016-03-17 22:37:36 -07:00
Michal Moskal
503855002c Fix incorrect shim 2016-03-17 21:53:56 -07:00
Peli de Halleux
b5c53b26d8 added enum annotations 2016-03-17 11:33:11 -07:00
Peli de Halleux
ac1b811942 added "set accelerometer range" 2016-03-16 14:56:50 -07:00
Peli de Halleux
1be364a364 better plotbargraph support 2016-03-16 14:14:49 -07:00
Peli de Halleux
403111eac7 fixing onshake support 2016-03-15 23:38:18 -07:00
Peli de Halleux
3c76e86cef added radio transmit power 2016-03-15 13:05:11 -07:00
Peli de Halleux
8277063e71 emulation of temperature 2016-03-14 14:03:31 -07:00
Peli de Halleux
4cd222ec82 better music support 2016-03-14 08:32:02 -07:00
Peli de Halleux
53c3b22c1c fixing beatduration 2016-03-13 21:35:31 -07:00
Peli de Halleux
b576066f9f added custom title 2016-03-10 23:09:38 -08:00
Peli de Halleux
78aee5fdd4 folding sub-libs into single lib 2016-03-10 22:17:32 -08:00
Michal Moskal
bd4adccde0 Rename yelm.json to kind.json 2016-03-10 15:01:58 -08:00
Michal Moskal
f1acffa399 Add readme 2016-03-10 14:21:48 -08:00
Michal Moskal
1a17bfac04 Move files from main kindscript repo 2016-03-10 14:01:04 -08:00