Testing out the PPD42 Air Quality Sensor, with an MSP430 Launchpad and graphing the data with GNUplot.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.5 KiB

5 years ago
  1. /*-------------------------------------------------------------------------
  2. | rxtx is a native interface to serial ports in java.
  3. | Copyright 2002-2004 Michal Hobot MichalHobot@netscape.net
  4. | Copyright 1997-2004 by Trent Jarvi taj@parcelfarce.linux.theplanet.co.uk
  5. |
  6. | This library is free software; you can redistribute it and/or
  7. | modify it under the terms of the GNU Library General Public
  8. | License as published by the Free Software Foundation; either
  9. | version 2 of the License, or (at your option) any later version.
  10. |
  11. | This library is distributed in the hope that it will be useful,
  12. | but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. | Library General Public License for more details.
  15. |
  16. | You should have received a copy of the GNU Library General Public
  17. | License along with this library; if not, write to the Free
  18. | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  19. --------------------------------------------------------------------------*/
  20. // rxtxSerial.cpp : Defines the entry point for the DLL application.
  21. //
  22. #include "StdAfx.h"
  23. BOOL APIENTRY DllMain( HANDLE hModule,
  24. DWORD ul_reason_for_call,
  25. LPVOID lpReserved
  26. )
  27. {
  28. switch (ul_reason_for_call)
  29. {
  30. case DLL_PROCESS_ATTACH:
  31. case DLL_THREAD_ATTACH:
  32. case DLL_THREAD_DETACH:
  33. case DLL_PROCESS_DETACH:
  34. break;
  35. }
  36. return TRUE;
  37. }