renaming infraredSensor to infrared (#344)

This commit is contained in:
Peli de Halleux
2018-02-26 10:39:15 -08:00
committed by Sam El-Husseini
parent 130a47d684
commit 33dcb6deee
14 changed files with 32 additions and 32 deletions

View File

@ -281,16 +281,16 @@ namespace sensors {
}
//% fixedInstance whenUsed block="1" jres=icons.port1
export const infraredSensor1: InfraredSensor = new InfraredSensor(1)
export const infrared1: InfraredSensor = new InfraredSensor(1)
//% fixedInstance whenUsed block="2" jres=icons.port2
export const infraredSensor2: InfraredSensor = new InfraredSensor(2)
export const infrared2: InfraredSensor = new InfraredSensor(2)
//% fixedInstance whenUsed block="3" jres=icons.port3
export const infraredSensor3: InfraredSensor = new InfraredSensor(3)
export const infrared3: InfraredSensor = new InfraredSensor(3)
//% fixedInstance whenUsed block="4" jres=icons.port4
export const infraredSensor4: InfraredSensor = new InfraredSensor(4)
export const infrared4: InfraredSensor = new InfraredSensor(4)
/**
* Remote beacon (center) button.