Skip to content
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

No analogread or analogwrite :/ #13

Open
MangyCat opened this issue Nov 12, 2023 · 1 comment
Open

No analogread or analogwrite :/ #13

MangyCat opened this issue Nov 12, 2023 · 1 comment

Comments

@MangyCat
Copy link

I tried compiling an sketch for my ch32v003, everything else works fine, except analogwrite aswell and analogread i got this error

riscv-none-elf-g++: warning: '-x c++' after last input file has no effect
/home/etore/.arduino15/packages/alexandermandera/tools/riscv-none-elf-gcc/12.2.0-3-xPack/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: /tmp/ccBBIZmj.ltrans0.ltrans.o: in function .L0 ': /home/etore/Arduino/pcmplayerch32v003/pcmplayerch32v003.ino:9: undefined reference to analogRead' (this is the important part)
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board CH32V003.

And also an undefined reference to "analogwrite"

I understand you haven't implemented everything yet, but i would love for analogwrite and analogread to be implemented instead of having to resort to using digitalwrite and simulated pwm instead of analogwrite

@MangyCat MangyCat changed the title No analogread :/ No analogread or analogwrite :/ Nov 12, 2023
@pixelEDI
Copy link

pixelEDI commented Nov 12, 2023

Hey, no analogRead has been implemented yet. I am also waiting hard for this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants