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
int main(void) { | |
SwitchMatrix_Init(); | |
GPIOInit(); | |
GPIOSetDir( 0, 0, 1 ); | |
GPIOSetDir( 0, 2, 1 ); | |
if(LPC_PMU->PCON & (1 << 11)) { | |
// DPDFLAG(11)が立ってるので、deep power-downからの復帰である。 | |
// 同フラグをクリア | |
LPC_PMU->PCON &= ~(1 << 11); |
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
/* | |
=============================================================================== | |
Name : TestSleep.c | |
Author : $(author) | |
Version : | |
Copyright : $(copyright) | |
Description : main definition | |
=============================================================================== | |
*/ |
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
console.log($("#pass").val()); | |
ansmax = []; | |
answer = []; | |
for(j=0;data.qas.length>j;j++){ | |
ansmax[j]= data.qas[j].answers.length-1; | |
answer[j]=0; | |
} | |
outer: | |
for(;;){ |
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
RewriteEngine On | |
RewriteCond %{QUERY_STRING} transport=polling | |
RewriteRule /(.*)$ http://localhost:3000/$1 [P] | |
ProxyRequests off | |
ProxyPass /socket.io/socket.io.js http://localhost:3000/socket.io/socket.io.js | |
ProxyPassReverse /socket.io/socket.io.js http://localhost:3000/socket.io/socket.io.js | |
ProxyPass /socket.io/ ws://localhost:3000/socket.io/ | |
ProxyPassReverse /socket.io/ ws://localhost:3000/socket.io/ |
NewerOlder