On Thu, 2 May 2019 13:00:02 -0700 (PDT),
quite...@gmail.com declaimed the
following:
>
>I am outputting three square waves and I need to change the output voltage
>into 5V. Is there any way I can change the voltage?
>
>I use Cloud9
>
>Here is my code:
>
Cloud9 and code is irrelevant... This is a hardware problem.
You can not get 5V outputs from a Beagle without adding additional
hardware. Google "level shifter"
https://www.sparkfun.com/products/12009 (bidirection)
https://www.adafruit.com/product/1787 (one direction)
https://www.adafruit.com/product/1875 (bidirection)
Note that most of the bidirectional types are strictly signal level to go
from one chip to another. If you need to then drive larger loads (LEDs) you
may need to add a transistor or high-output buffer between the level
shifter and the load.
--
Wulfraed Dennis Lee Bieber AF6VN
wlf...@ix.netcom.com