PaulStoffregen / OneWire

Library for Dallas/Maxim 1-Wire Chips
http://www.pjrc.com/teensy/td_libs_OneWire.html
595 stars 390 forks source link

Add basic RP2040 support #115

Closed nmaas87 closed 2 years ago

nmaas87 commented 2 years ago

By overwriting delayMicroseconds() with busy_wait_us() as shown by user @functionpointer ( https://github.com/PaulStoffregen/OneWire/commit/96fcc84decd905471b14593543fe5288e129c065 ) we can enable OneWire functionality on the RP2040 platform. If not overwritten, the RP2040 does hang on boot and will not work.