Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Arm Lab Interface Programs

  1. Interface a DAC and generate Triangular waveform using LPC 1768.
#include 
int main ()
{unsignedinti=0; 
LPC_PINCON->PINSEL0=0x00000000; 
LPC_GPIO0->FIODIR|=0x00000FF0; 
while(1) 
{
for(i=0;i!=0xFF;i++) 
{
LPC_GPIO0->FIOPIN=(iFIOPIN=(i

Algorithm used for generating triangular waveform using LPC 1768.

The post Arm Lab Interface Programs appeared first on Techgeetam.com .



This post first appeared on Techgeetam, please read the originial post: here

Share the post

Arm Lab Interface Programs

×

Subscribe to Techgeetam

Get updates delivered right to your inbox!

Thank you for your subscription

×