Started implementing EEPROM writer/reader for AT28C256.

This commit is contained in:
2022-07-29 14:53:43 +02:00
parent ac69187b5f
commit 7a476f3180
8 changed files with 77 additions and 36 deletions

View File

@@ -1,5 +1,5 @@
#include "util.h"
float map(float value, float fromLow, float fromHigh, float toLow, float toHigh){
float map(float value, float fromLow, float fromHigh, float toLow, float toHigh) {
return fromLow+((toHigh-toLow)/(fromHigh-fromLow))*(value-fromLow);
}