Module SharedConstants
[frames] | no frames]

Module SharedConstants

source code


This software is part of the EV3BrickPi module.
It is Open Source Free Software, so you may
- run the code for any purpose
- study how the code works and adapt it to your needs
- integrate all or parts of the code in your own programs
- redistribute copies of the code
- improve the code and release your improvements to the public
However the use of the code is entirely your responsibility.

Variables
  VERSION = '1.00 - July 2017'
  DISPLAYED_VERSION = '100'
  DEBUG = False
  P_BUTTON1 = 18
  P_BUTTON2 = 16
  P_BUZZER = 40
  MOTOR_DEFAULT_SPEED = 40
  MOTOR_POWER_TO_SPEED_FACTOR = 1.0
  GEAR_AXE_LENGTH = 0.06
  GEAR_DEFAULT_SPEED = 40
  GEAR_BREAK_DELAY = 200
  GEAR_FORWARD_SPEED_DIFF = 0.5
  GEAR_BACKWARD_SPEED_DIFF = 0.5
  CONFIG_FILE = '/home/pi/scripts/raspibrick.cfg'
  APP_PATH = '/home/pi/scripts/MyApp'
  BUTTON_PRESSED = 1
  BUTTON_RELEASED = 2
  BUTTON_LONGPRESSED = 3
  BUTTON_CLICKED = 4
  BUTTON_DOUBLECLICKED = 5
  BUTTON_LONGPRESS_DURATION = 2
  BUTTON_DOUBLECLICK_TIME = 1
  POLL_DELAY = 50
  ABOUT = '2003-2017 Aegidius Pluess\nOpenSource Free Software\n...
  __package__ = None
Variables Details

ABOUT

Value:
'''2003-2017 Aegidius Pluess
OpenSource Free Software
http://www.aplu.ch
All rights reserved'''