ARMweb D/A

Questions on other types of hardware and getting it talking to the ARM CPU
Post Reply
Posts: 1463
Joined: Fri Oct 19, 2012 5:11 am

ARMweb D/A

Post by YahooArchive » Tue Dec 04, 2012 1:50 am

> On the ARMWeb how do you access the D to A using ARMbasic?
> (I have the beta version)

We are not going to do a builtin function for the DA, but would
propose to handle that in a #include file to define that function.

Within that, registers to control that would be accessed through the
pointer mechanism directly. To enable the DA, you would need to
select the PINSEL1 setting and then writing to DACR (details in the
LPC2138 user manual).

Post Reply