Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Commit

Permalink
Change range values
Browse files Browse the repository at this point in the history
  • Loading branch information
xnkevinnguyen committed Apr 3, 2020
1 parent db67d0d commit bedd197
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions src/view/components/toolbar/clue/ClueSensorProperties.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,25 @@ export const CLUE__PROXIMITY_PROPERTIES: ISensorProps = {
{
axisLabel: "P",
maxLabel: "Max",
maxValue: 100,
maxValue: 255,
minLabel: "Min",
minValue: 0,
type: SENSOR_LIST.PROXIMITY,
},
],
unitLabel: "%",
unitLabel: "",
};
export const CLUE_PRESSURE_PROPERTIES: ISensorProps = {
LABEL: "Humidity Sensor",
sliderProps: [
{
axisLabel: "P",
maxLabel: "Max",
maxValue: 100,
maxValue: 1100,
minLabel: "Min",
minValue: 0,
minValue: 800,
type: SENSOR_LIST.PRESSURE,
},
],
unitLabel: "%",
unitLabel: "hPa",
};
8 changes: 4 additions & 4 deletions src/view/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"toolbar-speaker.tryItDescription": "Right now the tones are not supported on the simulator. If you would like to see tones implemented, please +1 the feature addition issue on GitHub! Regardless, you can play it on your device!",
"toolbar-temperature-sensor.description": "This sensor uses an NTC thermistor to sense temperature an calculate it with the analog voltage on analog pin #A9.",
"toolbar-temperature-sensor.title": "Temperature Sensor",
"toolbar-temperature-sensor.tryItDescription": "You can set the temperature range from your code!",
"toolbar-temperature-sensor.tryItDescription": "You can set the temperature in degrees Celsius.",
"toolbar-accelerometer-sensor.title": "Accelerometer",
"toolbar-accelerometer-sensor.description": "An accelerometer measures the acceleration of your micro:bit; this component senses when the micro:bit is moved.",
"toolbar-accelerometer-sensor.tryItDescription": "Set the acceleration with the sliders.",
Expand Down Expand Up @@ -76,16 +76,16 @@
"toolbar-clue-sound-sensor.tryItDescription": "If you would like to see this sensor supported, please +1 the feature addition issue on GitHub!",
"toolbar-clue-pressure-sensor.title": "Pressure",
"toolbar-clue-pressure-sensor.description": "CLUE uses the BMP280 sensor for barometric pressure. Because pressure changes with altitude, and the pressure measurements are so good, you can also use it as an altimeter with ±1 meter accuracy.",
"toolbar-clue-pressure-sensor.tryItDescription": "You can set the pressure here.",
"toolbar-clue-pressure-sensor.tryItDescription": "You can set the pressure here in hectoPascals (hPa).",
"toolbar-clue-humidity-sensor.title": "Humidity",
"toolbar-clue-humidity-sensor.description": "The SHT30-D sensor has an excellent ±2% relative humidity and ±0.5°C accuracy for most uses.",
"toolbar-clue-humidity-sensor.tryItDescription": "You can set the humidity % here.",
"toolbar-clue-humidity-sensor.tryItDescription": "You can set the humidity in percentage (%) here.",
"toolbar-clue-gesture-sensor.title": "Gesture",
"toolbar-clue-gesture-sensor.description": "The gesture sensor can detect directional gestures (left to right, right to left, up to down, down to up), but in theory more complicated gestures like zig-zag, clockwise or counterclockwise circle, near to far, etc. could also be detected with additional code. ",
"toolbar-clue-gesture-sensor.tryItDescription": "Select a gesture and send it by clicking the button.",
"toolbar-clue-proximity-sensor.title": "Proximity",
"toolbar-clue-proximity-sensor.description": "The proximity sensor uses APDS9960 and is able to return how close an object is to the front of the sensor.",
"toolbar-clue-proximity-sensor.tryItDescription": "You can set the proximity here.",
"toolbar-clue-proximity-sensor.tryItDescription": "Set relative proximity to the sensor in values from 0 - 255",
"toolbar-clue-bluetooth.title": "Bluetooth",
"toolbar-clue-bluetooth.description": "You can transmit data over Bluetooth to a computer or mobile device for data plotting and logging, or save it to the built in storage.",
"toolbar-clue-bluetooth.tryItDescription": "If you would like to see this sensor supported, please +1 the feature addition issue on GitHub! ",
Expand Down

0 comments on commit bedd197

Please sign in to comment.