오디오용 Non Invert op amp 구성임.
SingleSupply일 경우 C2가 꼭 필요함. R5,R6은 Bais용임.
C3는 Cutoff 주파수를 결정함.
R5,R6이 너무 작으면 낮은음이 작아짐.
LM32x는 전원을 9V는 써줘야 하고 TL97x와 같은 Rail to rail opamp를 사용하기를 권장함.
Tuesday, July 19, 2016
Monday, April 18, 2016
raspberry pi ntp 서비스 재시작 방법( restart ntp service, time set from internet time server)
sudo /etc/init.d/ntp restart
Saturday, April 16, 2016
raspberry pi 새 ip address가 잡히지 않을때. assign new ip address in /etc/network/interfaces but not working.
/etc/network/interfaces 파일에 static 으로 ipaddress를 지정한 후
아래와 같이 네트워크 서비스를 다시 시작한다.
sudo /etc/init.d/networking reload
아래와 같이 네트워크 서비스를 다시 시작한다.
sudo /etc/init.d/networking reload
------------------------------
modify /etc/network/interfaces file to static and ip address. and restart network service
type bellow.
sudo /etc/init.d/networking reload
Saturday, March 26, 2016
c# .Net SoapClient의 첫번째 요청이 느리게 처리될때(Slow Soapclient first time)
프로젝트의 app.config 파일에 서버 호스트 이름을 proxy bypass 하도록 한다.
IP주소든 도메인 이름이든 상관 없다.
<configuration> <system.net> <defaultProxy> <bypasslist> <add address="서버호스트이름(host name)" /> </bypasslist> </defaultProxy> </system.net> </configuration>
---------------------------------------
append host name ( or ipaddress, domain name ) to bypass list
IP주소든 도메인 이름이든 상관 없다.
<configuration> <system.net> <defaultProxy> <bypasslist> <add address="서버호스트이름(host name)" /> </bypasslist> </defaultProxy> </system.net> </configuration>
---------------------------------------
append host name ( or ipaddress, domain name ) to bypass list
Sunday, March 20, 2016
HttpWebRequest의 첫번째 동작이 느릴때. ( HttpWebRequest slow first time )
HttpWebRequest의 Proxy 설정을 null 로 해주면 해결된다.
HttpWebRequest httpRequest = (HttpWebRequest)WebRequest.Create( URL );
httpRequest.Credentials = CredentialCache.DefaultCredentials;
httpRequest.Proxy = null;
httpRequest.Method = "GET";
httpRequest.KeepAlive = false;
HttpWebResponse httpResponse = (HttpWebResponse)httpRequest.GetResponse();
System.IO.Stream dataStream = httpResponse.GetResponseStream();
System.IO.StreamReader streamReader = new System.IO.StreamReader(dataStream);
String responseText = streamReader.ReadToEnd();
dataStream.Close();
streamReader.Close();
httpResponse.Close();
-------------------
problem : very slow response when first request.
solution : assign null to Proxy attribute.
HttpWebRequest httpRequest = (HttpWebRequest)WebRequest.Create( URL );
httpRequest.Credentials = CredentialCache.DefaultCredentials;
httpRequest.Proxy = null;
httpRequest.Method = "GET";
httpRequest.KeepAlive = false;
HttpWebResponse httpResponse = (HttpWebResponse)httpRequest.GetResponse();
System.IO.Stream dataStream = httpResponse.GetResponseStream();
System.IO.StreamReader streamReader = new System.IO.StreamReader(dataStream);
String responseText = streamReader.ReadToEnd();
dataStream.Close();
streamReader.Close();
httpResponse.Close();
-------------------
problem : very slow response when first request.
solution : assign null to Proxy attribute.
Wednesday, September 23, 2015
Saturday, August 22, 2015
C#에서 부모의 Property를 공개하여 표시하는 방법
usercontrol을 만들때
[EditorBrowsable(EditorBrowsableState.Always)]
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
[Bindable(true)]
public override string Text
{
get { return base.Text; }
set { base.Text = value; this.Invalidate(); }
}
라고 쓰면 Text property를 폼 디자이너에서 표시할 수 있다.
[EditorBrowsable(EditorBrowsableState.Always)]
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
[Bindable(true)]
public override string Text
{
get { return base.Text; }
set { base.Text = value; this.Invalidate(); }
}
라고 쓰면 Text property를 폼 디자이너에서 표시할 수 있다.
Subscribe to:
Posts (Atom)

