Skip to content
Snippets Groups Projects
Select Git revision
  • v1.11.3
  • master default protected
  • dev protected
  • Issue/3003-stsInstitute
  • gitkeep
  • Hotfix/2775-dfnCertRollover
  • Hotfix/2592-sameProvider
  • Hotfix/1234-handlingMergeToken
  • Hotfix/2576-certificatePatch
  • Issue/2309-docs
  • Issue/2325-fixApiTokenMerging
  • Issue/1974-shibbolethLogout
  • Fix/xxxx-migrateLogin
  • Hotfix/2169-ignoreAuthContext
  • Experimental/newSaml2
  • Issue/2147-exchangingCoscineCertificate-step2
  • Issue/2147-exchangingCoscineCertificate
  • Issue/2147-exchangingCoscineCertificate-step3
  • uiv2
  • Issue/2115-extendParsingPairwiseId
  • Hotfix/2103-RepositoryurlstoConsulUpdateMappingGivennameUiv2
  • v4.1.1
  • v4.1.0
  • v4.0.9
  • v4.0.8
  • v4.0.7
  • v4.0.6
  • v4.0.5
  • v4.0.4
  • v4.0.3
  • v4.0.2
  • v4.0.1
  • v4.0.0
  • v3.1.4
  • v3.1.3
  • v3.1.2
  • v3.1.1
  • v3.1.0
  • v3.0.0
  • v2.4.4
  • v2.4.3
41 results

build.ps1

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    sensorProblemLowLevel.m 757 B
    % This function requires:
    %   * Brick connected via USB
    %   * EV3-Touch-Sensor at port 1
    clear all;
    
    b = CommunicationInterface('usb');
    b.debug = 0; % Set this to 1 to have all packets sent and received printed to the console
    
    % If you call this script more than once in a row, the reply to this command will also be
    % erroneous (as this is another implicit mode change, from Bumps to Pushed).
    val = b.inputReadSI(0, SensorPort.Sensor1, DeviceMode.Touch.Pushed);
    fprintf('Pushed: %d\n', val);
    
    val = b.inputReadSI(0, SensorPort.Sensor1, DeviceMode.Touch.Bumps); % The reply to this command should be erroneous 
    fprintf('Bumps: %d\n', val);
    val = b.inputReadSI(0, SensorPort.Sensor1, DeviceMode.Touch.Bumps); % Now it should work
    fprintf('Bumps: %d\n', val);