Browse Source

Cosmetic tweaks from dev

Scott Lahteine 8 years ago
parent
commit
988332c67a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/scripts/createTemperatureLookupMarlin.py

+ 1
- 1
Marlin/scripts/createTemperatureLookupMarlin.py View File

26
 ZERO   = 273.15                             # zero point of Kelvin scale
26
 ZERO   = 273.15                             # zero point of Kelvin scale
27
 VADC   = 5                                  # ADC voltage
27
 VADC   = 5                                  # ADC voltage
28
 VCC    = 5                                  # supply voltage
28
 VCC    = 5                                  # supply voltage
29
-ARES   = 2**10                              # 10 Bit ADC resolution
29
+ARES   = pow(2,10)                          # 10 Bit ADC resolution
30
 VSTEP  = VADC / ARES                        # ADC voltage resolution
30
 VSTEP  = VADC / ARES                        # ADC voltage resolution
31
 TMIN   = 0                                  # lowest temperature in table
31
 TMIN   = 0                                  # lowest temperature in table
32
 TMAX   = 350                                # highest temperature in table
32
 TMAX   = 350                                # highest temperature in table

Loading…
Cancel
Save