Shop
OBEX
P1 Docs
P2 Docs
Learn
Events
Freakout — Parallax Forums
toggle menu
Categories
Discussions
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Sign In
·
Register
×
Home
›
General Discussion
Freakout
dev/null
Posts:
381
2009-06-30 19:23
edited 2009-06-30 20:42
in
General Discussion
Is there an easy way to create sine waves with Javelin, as you can with FREQOUT?
Comments
Peter Verkaik
Posts:
3,956
2009-06-30 19:55
edited 2009-06-30 19:55
You can create a table with DAC values and update a DAC regularly.
The more values in the table, the better sine shape the DAC output.
You need an RC filter at the DAC output pin.
regards peter
java
java
Sine.java
986B
Sine.java
986B
dev/null
Posts:
381
2009-06-30 20:10
edited 2009-06-30 20:10
Could you show me some code. I'm sorry but I'm a newbie with Java...
Peter Verkaik
Posts:
3,956
2009-06-30 20:15
edited 2009-06-30 20:15
Code is attached to my previous post.
regards peter
dev/null
Posts:
381
2009-06-30 20:42
edited 2009-06-30 20:42
Ahh, sry.
Thanks Peter!!!
Sign In
or
Register
to comment.
Comments
The more values in the table, the better sine shape the DAC output.
You need an RC filter at the DAC output pin.
regards peter
regards peter
Thanks Peter!!!