Prusa MINI Firmware overview
|
Variables | |
parser = argparse.ArgumentParser(description=__doc__) | |
type | |
int | |
default | |
help | |
args = parser.parse_args() | |
int | cpu_freq = args.cpu_freq * 1000000 |
int | timer_freq = cpu_freq / args.divider |
list | a = [ timer_freq / ((i*256)+(args.cpu_freq*2)) for i in range(256) ] |
list | b = [ a[i] - a[i+1] for i in range(255) ] |
end | |
createSpeedLookupTable.parser = argparse.ArgumentParser(description=__doc__) |
createSpeedLookupTable.type |
createSpeedLookupTable.int |
createSpeedLookupTable.default |
createSpeedLookupTable.help |
createSpeedLookupTable.args = parser.parse_args() |
int createSpeedLookupTable.cpu_freq = args.cpu_freq * 1000000 |
list createSpeedLookupTable.a = [ timer_freq / ((i*256)+(args.cpu_freq*2)) for i in range(256) ] |
createSpeedLookupTable.end |