Waow, that was it.
Would have never guessed something that crazy.
Thank you so much
Posts made by breadbox
RE: RTC unit and core1
RTC unit and core1
I am trying to make my new RTC unit RTC8563 to work with my core1 , but arduino IDE always get me a problem message due to the unit RTC .
Would anybody be able to guide me through some help?
I am slimpkly tring to compile the example code given by M5stack:
/Users/bboxx/Documents/Arduino/libraries/M5Unit-RTC/src/Unit_RTC.cpp: In member function 'void Unit_RTC::begin(TwoWire*, uint8_t, uint8_t, uint32_t)':
/Users/bbox/Documents/Arduino/libraries/M5Unit-RTC/src/Unit_RTC.cpp:33:49: error: no matching function for call to 'TwoWire::begin(int, uint8_t&, uint8_t&, uint32_t&)'
_wire->begin(DEVICE_ADDR, sda, scl, i2c_freq);
In file included from /Users/bbox/Documents/Arduino/libraries/M5Unit-RTC/src/Unit_RTC.h:12,
/Users/bbox/Library/Arduino15/packages/m5stack/hardware/esp32/2.0.0/libraries/Wire/src/Wire.h:76:10: note: candidate: 'bool TwoWire::begin(int, int, uint32_t)'
bool begin(int sda=-1, int scl=-1, uint32_t frequency=0); // returns true, if successful init of i2c bus
/Users/bbox/Library/Arduino15/packages/m5stack/hardware/esp32/2.0.0/libraries/Wire/src/Wire.h:76:10: note: candidate expects 3 arguments, 4 provided
Multiple libraries were found for "SD.h"
Not used: /Users/bbox/Library/Arduino15/libraries/SD
exit status 1
Compilation error: exit status 1
reading 66khz two 12v signal with a core.
I want to read the signal of 2 laser sensor that work at around 12V. is there any bases that would help me to easily:
- give me the 2x 12v 0.4A I need
- convert the 12 v signal to 3.3 v so I can read the sensor signal on a Core.
is there any product of m5stack that can help me on this or shall I fully construct the circuit:
with a 12v power supply and a 12V to 3.3V Digital Logic Level Conversion Module ?