-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using MD_PIN_MAP removes the ability to control K210 Chip IO Pins for SPI etc... #47
Comments
I have Serial working between the K210 and ESP32 using a custom class I wrote based on UARTClass: Maix_UART.h
K210_Usage.ino
ESP32_Usage.ino
|
For printing floats, the print() method above may need to be modified to use sprintf() using preprocessor macros. This will make it more like the Arduino standard printer. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a project that requires advanced usage of the K210 IO pins on a Sipeed Maixduino board.
However, the default digitalWrite, pinMode etc. methods use an array called MD_PIN_MAP for pin mapping. This is restrictive and doesn't allow full use of the K210 IO pins.
Provided that you know what you are doing, here is my fix:
I am finding myself having to rewrite the SPI and UART library to accommodate this change too.
The text was updated successfully, but these errors were encountered: