달력

4

« 2024/4 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30

엉터리 영작 주의!!!

내가 모르는 부분을 파악하기 위함이므로 해석한 후 바로잡지 않을 것임.


Note that the current version of SoftSerial actually uses PCINT to detect the individual bits.

주목해라 이 현재 버전의 소프트웨어 시리얼은 / 실질적으로 PCINT를 사용한다 / 감지하기 위해 개별적 비트를


Hence I believe defining it again at the main loop would conflict with the SoftSerial's actual detection of bits.

나는 그것을 재정의한 것을 믿는다 / 메인 루프에서 / 충돌할 수 있다 / 소프트웨어 시리얼의 실제 비트 감지에서

(헨스.. 까먹었다. 이런.. 이 문장 해석 완전 엉터리로 했네..)


제대로 다시 해석해 보자.

따라서 나는 생각한다 / 그것을 재정의한 것이 / 메인 루프에서 / 충돌할 수 있다는 것을 / 소프트시리얼의 실제 비트 감지와


I am reluctant to suggest this as it is modifying a core library.

나는 reluctant한다 / 이걸 제안하는 것을 / 코어 라이브러리를 수정함으로써


이것도 엉터리 해석을 했군..

나는 꺼린다 / 그것을 제안하는 것을 / 그것이 코어 라이브러리를 수정하기 때문에

* as는 때문에의 뜻.


Which is difficult not to do when sharing interrupts.

그것은 어렵다 / 하지 않는 것은 / 인터럽트를 공유할 때


But if desperate, you could modify that routine, with your need.

그러나 만약 desperate라면, 너는 수정할 수 있다 그 루틴을 / 너의 필요에 의해

* desperate 필사적인


within


\arduino-1.5.7\hardware\arduino\avr\libraries\SoftwareSerial\SoftwareSerial.cpp.


//

// The receive routine called by the interrupt handler

//

void SoftwareSerial::recv()

{

...

    // if buffer full, set the overflow flag and return

    if ((_receive_buffer_tail + 1) % _SS_MAX_RX_BUFF != _receive_buffer_head) 

    {

      // save new data in buffer: tail points to where byte goes

      _receive_buffer[_receive_buffer_tail] = d; // save new byte

      _receive_buffer_tail = (_receive_buffer_tail + 1) % _SS_MAX_RX_BUFF;

#ifdef YOUR_THING_ENABLE

      // Quickly check if it is what you want and DO YOUR THING HERE!

#endif

    } 

...

}


But beware your are still in a ISR and all Interrupts are OFF and you are blocking EVERYTHING.


One should not lollygag nor dilly dally, here.


Do you something quick and get out.




individual은 여기선 개별적이 아니라 특정한인가?

hence 따라서

believe 여기서는 믿다라고 해석하기보단 그냥 단순하게 '생각하다' 정도로 해석하면 된다.


- 작성 중 -

:
Posted by 클레잇