- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Can someone point me to the data sheet that shows you how to read the die temperature in a PSoC 3?
Nick
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Man! Wait, wait.
This code is working!
Needs Start and Stop everytimes.
//////////////////////////////////////////////////////////////////////////////////
// unsigned char sp; int temp;
//////////////////////////////////////////////////////////////////////////////////
while(1)
{ BLed_ON;
while( DieTemp_Start()!=CYRET_STARTED ) {};
BLed_OFF;
sp= DieTemp_Query( &temp );
if( sp==CYRET_SUCCESS )
{ LCD_Printf(0,0, " Die Temp=%d ", temp );
}
DieTemp_Stop();
if((++k%10)<5) BLed_ON; else BLed_OFF;
CyDelay(10);
}
//////////////////////////////////////////////////////////////////////////////////