Skip to content

Implement some optimized commonly used funktions #3

@raphendyr

Description

@raphendyr

For example square using algorithm from Quake would be ok fast on avr?

Other good might be sensor value approximation using algorithm:

proc approx_sensor -> byte:
  word val = 0
  for 8 times:
    val += read_sensor()
  val = val / 8
  return val

Division by 8 should optimize or can be written as val >> 3

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions