Skip to content

Commit

Permalink
groups under the ...More drawer.
Browse files Browse the repository at this point in the history
  • Loading branch information
CleoQc committed Jul 30, 2018
1 parent 6bdff09 commit a462cb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions gigglebot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ enum gigglebotInequality {


//% weight=99 color=#46BFB1 icon="\uf0d1"
//% groups='["other", "Servo", "LineFollower", "LightSensors", "DistanceSensor"]'
//% groups='["other", "Servo", "LineFollower", "LightSensors", "DistanceSensor","OnBoardSensors", "Voltage", "Firmware"]'
namespace gigglebot {
/**
* Basic drive and sensor functionalities for GiggleBot
Expand Down Expand Up @@ -629,7 +629,6 @@ namespace gigglebot {
* @param trim_value: a correction value between 0 and 100, but most likely below 10
*/
//% blockId="gigglebot_trim" block="correct towards %dir|by %trim_value"

//% weight=100
//% advanced=true
export function motorTrimSet(dir: gigglebotWhichTurnDirection, trim_value: number) {
Expand All @@ -652,7 +651,6 @@ namespace gigglebot {
*/
//% blockId="gigglebot_set_motor" block="set power on %motor| to | %power"
//% advanced=true

//% weight=90
export function motorPowerAssign(motor: gigglebotWhichMotor, power: number) {
let buf = pins.createBuffer(3)
Expand Down Expand Up @@ -682,7 +680,6 @@ namespace gigglebot {
//% blockId="gigglebot_set_motors" block="set left power to %left_power|and right to | %right_power"
//% advanced=true
//% weight=90

export function motorPowerAssignBoth(left_power: number, right_power: number) {
let buf = pins.createBuffer(3)
buf.setNumber(NumberFormat.UInt8BE, 0, gigglebotI2CCommands.SET_MOTOR_POWERS)
Expand Down
2 changes: 1 addition & 1 deletion pxt.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gigglebot",
"version": "v0.0.10",
"version": "v0.1.0",
"dependencies": {
"core": "*",
"distanceSensor": "github:dexterind/pxt-distancesensor#v0.0.1"
Expand Down

0 comments on commit a462cb2

Please sign in to comment.