This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
... | |
"originalDetectIntentRequest": { | |
... | |
"payload": { | |
... | |
"conversation": { | |
"conversationId": "...gZsMB8ajfLvsg", | |
"type": "NEW" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
... | |
"originalDetectIntentRequest": { | |
... | |
"payload": { | |
... | |
"conversation": { | |
"conversationId": "...5nmoRA2pY", | |
"type": "NEW" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tri_st_data : process (mem_write_data, data, cur_memc_st) | |
begin | |
if (cur_memc_st = ctrl_wait_for_write) then | |
data <= mem_write_data; | |
else | |
data <= (others => 'Z'); | |
end if; | |
mem_read_data <= data; | |
end process tri_st_data; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
addr : out std_logic_vector (SDR_ADDR_WIDTH - 1 downto 0); | |
data : in std_logic_vector (SDR_DATA_WIDTH - 1 downto 0); | |
... | |
addr(addr'length - 1 downto 0) <= data(addr'length - 1 downto 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "FastPWM.h" | |
FastPWM::FastPWM(PinName pin) : PWMObject(pin){ | |
//Set clock source | |
LPC_SC->PCLKSEL0|=1<<12; | |
_duty=0; | |
_period=0.02; | |
if (pin==p26||pin==LED1) { | |
PWMUnit=1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Aplicatie test pentru Modulul de comunicatii AVR-PS/2 Mouse | |
* Copyright (c) 2013, Victor ADASCALITEI, admin@tuscale.ro | |
* | |
* Eliberez aceste surse sub licenta CC de tip BY-NC-SA 3.0 . Pentru mai multe informatii, va invit sa accesati | |
* urmatoarea adresa : http://creativecommons.org/licenses/by-nc-sa/3.0/ro/ . | |
*/ | |
#include <avr/io.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Modul de comunicatii AVR-PS/2 Mouse | |
* Copyright (c) 2013, Victor ADASCALITEI, admin@tuscale.ro | |
* | |
* Eliberez aceste surse sub licenta CC de tip BY-NC-SA 3.0 . Pentru mai multe informatii, va invit sa accesati | |
* urmatoarea adresa : http://creativecommons.org/licenses/by-nc-sa/3.0/ro/ . | |
*/ | |
#include <avr/interrupt.h> | |
#define F_CPU 9600000UL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* \brief Citește temperatura reală a termistorului | |
* | |
* Funcția returnează temperatura în grade Celsius pe tot domeniul de | |
* referință a termistorului [-40 - 125] folosit de plăcuța XMEGA-A3BU. | |
* Eroare de calculare a valorii se va considera ca fiind aproximativ 1°C. | |
* | |
* \retval temperatura exprimată în grade Celsius [°C] | |
*/ | |
int8_t ntc_get_full_temperature(uint16_t adcVal) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* \brief Read the actual temperature from the NTC | |
* | |
* This function returns the temperature in Celsius by piecewise linearisation | |
* of the complex transfer function between NTC resistance and ADC codes. The | |
* accuracy of the temperature is somewhat limited. | |
* | |
* \note The result is inaccurate for temperatures outside 5-45 degrees. | |
* | |
* \retval the temperature in Celsius |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(*Autor : Victor ADĂSCĂLIȚEI [2013], Scris pentru Mathematica v8; | |
Descriere : | |
Secvența de cod a fost folosită pentru construirea de | |
modele matematice liniare [polinoame de gradul 1] în | |
vederea extinderii capacității plăcuței Atmel XMEGA-A3BU | |
Xplained de a citi temperatura ambientală. | |
Principiul poate fi folosit pentru calcularea polinoamelor | |
de aproximare si pentru alte familii de termistori pentru | |
care exista informatii extinse precum foi de catalog din | |
care să poată fi calculat parametrii modelului |
NewerOlder