Skip to content

Commit fae97ff

Browse files
committed
remove jacdac for now
1 parent 2a4b240 commit fae97ff

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

pxt.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,7 @@
77
"radio": "*",
88
"microphone": "*",
99
"datalogger": "*",
10-
"pxt-arcadeshield": "github:microsoft/pxt-arcadeshield#v0.1.0",
11-
"jacdac": "github:microsoft/pxt-jacdac#v1.9.28",
12-
"jacdac-light-level": "github:microsoft/pxt-jacdac/light-level#v1.9.28",
13-
"jacdac-soil-moisture": "github:microsoft/pxt-jacdac/tree/master/soil-moisture#v1.9.28",
14-
"jacdac-distance": "github:microsoft/pxt-jacdac/tree/master/distance#v1.9.28",
15-
"jacdac-temperature": "github:microsoft/pxt-jacdac/tree/master/temperature#v1.9.28",
16-
"jacdac-flex": "github:microsoft/pxt-jacdac/tree/master/flex#v1.9.28"
10+
"pxt-arcadeshield": "github:microsoft/pxt-arcadeshield#v0.1.0"
1711
},
1812
"files": [
1913
"keymap.ts",

sensorFactory.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,19 @@ namespace microcode {
1818
else if ("Logo Pressed" || "Logo Press" || "LP") return new LogoPressSensor();
1919
else if ("Volume" || "Volume" || "V") return new VolumeSensor();
2020
else if ("Compass" || "Compass" || "C") return new CompassHeadingSensor();
21+
/*
2122
else if ("Jac Light" || "Jacdac Light" || "JL") return new JacdacLightSensor();
2223
else if ("Jac Moist" || "Jacdac Moisture" || "JM") return new JacdacSoilMoistureSensor();
2324
else if ("Jac Dist" || "Jacdac Distance" || "JD") return new JacdacDistanceSensor();
2425
else if ("Jac Flex" || "Jacdac Flex" || "JF") return new JacdacFlexSensor();
2526
else if ("Jac Temp" || "Jacdac Temperature" || "JT") return new JacdacTemperatureSensor();
27+
"jacdac": "github:microsoft/pxt-jacdac#v1.9.28",
28+
"jacdac-light-level": "github:microsoft/pxt-jacdac/light-level#v1.9.28",
29+
"jacdac-soil-moisture": "github:microsoft/pxt-jacdac/tree/master/soil-moisture#v1.9.28",
30+
"jacdac-distance": "github:microsoft/pxt-jacdac/tree/master/distance#v1.9.28",
31+
"jacdac-temperature": "github:microsoft/pxt-jacdac/tree/master/temperature#v1.9.28",
32+
"jacdac-flex": "github:microsoft/pxt-jacdac/tree/master/flex#v1.9.28"
33+
*/
2634
else return new AccelerometerXSensor()
2735
}
2836
}

sensorSelect.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ namespace microcode {
3636
this.cursor.resetOutlineColourOnMove = true
3737
const icons: string[] = [
3838
"accelerometer", "accelerometer", "accelerometer", "right_turn", "right_spin", "pin_0", "pin_1", "pin_2",
39-
"led_light_sensor", "thermometer", "magnet", "finger_press", "speaker", "compass", "microbitLogoWhiteBackground",
40-
"microbitLogoWhiteBackground", "microbitLogoWhiteBackground", "microbitLogoWhiteBackground", "microbitLogoWhiteBackground"
39+
"led_light_sensor", "thermometer", "magnet", "finger_press", "speaker", "compass",
40+
// "microbitLogoWhiteBackground","microbitLogoWhiteBackground", "microbitLogoWhiteBackground", "microbitLogoWhiteBackground", "microbitLogoWhiteBackground"
4141
]
4242

4343
const ariaIDs: string[] = [
4444
"accelerometer X", "accelerometer Y", "accelerometer Z", "Pitch", "Roll", "A. Pin 0", "A. Pin 1", "A. Pin 2", "led_light_sensor",
45-
"thermometer", "S10", "Logo Press", "Volume", "Compass", "Jacdac Flex", "Jacdac Temperature", "Jacdac Light",
46-
"Jacdac Moisture", "Jacdac Distance"
45+
"thermometer", "S10", "Logo Press", "Volume", "Compass",
46+
// "Jacdac Flex", "Jacdac Temperature", "Jacdac Light", "Jacdac Moisture", "Jacdac Distance"
4747
]
4848

4949
//-----------------------------------------------------

0 commit comments

Comments
 (0)