DS18B20 без oneWire?

Babaiko
Offline
Зарегистрирован: 18.12.2011

 Доброго времени суток.

Научите как подключить 5-6 датчиков  DS18B20 без использования бибилиотеки oneWire

портов у меня хватает, а вот oneWire выдаёт такие матюки. это на Mac  на винде примерно тоже 

а железка у меня chipkit Max 32. на ней oneWire библиотека не работает :( 

 


In file included from /Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:50:0,
                 from /Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/plib.h:50,
                 from /Applications/Mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/OneWire/OneWire.h:65,
                 from sketch_apr24a.cpp:1:
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:65:22: error: expected identifier before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:65:22: error: expected '}' before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:65:22: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:65:40: error: 'BOOL' does not name a type
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:342:33: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:360:5: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:363:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:364:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:365:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:366:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:367:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:368:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:369:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:370:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:377:5: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:380:9: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:381:9: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:385:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:386:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:387:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:388:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:389:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:390:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:391:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:392:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:393:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:394:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:395:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:396:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:397:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:398:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:399:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:400:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:408:5: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:416:9: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:417:9: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:418:9: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:419:9: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:428:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:429:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:430:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:431:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:432:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:433:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:434:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:435:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:436:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:437:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:438:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:439:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:440:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:441:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:442:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:443:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:444:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:445:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:446:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:447:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:448:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:449:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:450:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:451:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:452:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:453:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:454:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:455:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:456:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:457:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:458:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:459:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:470:5: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:485:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:486:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:487:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:488:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:489:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:490:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:491:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:492:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:493:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:494:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:495:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:496:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:497:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:498:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:499:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:500:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:501:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:502:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:503:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:504:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:505:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:506:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:507:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:508:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:509:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:510:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:511:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:512:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:513:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:514:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:515:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:516:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:517:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:518:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:519:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:520:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:521:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:522:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:523:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:524:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:525:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:526:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:527:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:528:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:529:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:530:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:531:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:532:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:533:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:534:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:535:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:536:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:537:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:538:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:539:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:540:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:541:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:542:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:543:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:544:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:545:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:546:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:547:21: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:548:21: error: expected unqualified-id before numeric constant
In file included from /Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/plib.h:50:0,
                 from /Applications/Mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/OneWire/OneWire.h:65,
                 from sketch_apr24a.cpp:1:
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:158:9: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:161:9: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:717:32: error: 'BOOL' has not been declared
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:891:1: error: 'BOOL' does not name a type
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:1040:1: error: 'BOOL' does not name a type
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:1082:41: error: expected identifier before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:1082:41: error: expected ',' or '...' before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:1125:1: error: 'BOOL' does not name a type
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:1168:1: error: 'BOOL' does not name a type
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:1209:47: error: 'BOOL' has not been declared
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:1247:1: error: 'BOOL' does not name a type
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:1293:1: error: 'BOOL' does not name a type
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:1331:1: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:1373:42: error: 'BOOL' has not been declared
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:1415:1: error: 'BOOL' does not name a type
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:1460:1: error: 'BOOL' does not name a type
In file included from /Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/plib.h:64:0,
                 from /Applications/Mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/OneWire/OneWire.h:65,
                 from sketch_apr24a.cpp:1:
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h:790:15: error: 'BOOL' does not name a type
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h:833:86: error: expected identifier before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h:833:86: error: expected ',' or '...' before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h: In function 'void UARTSendDataByte(UART_MODULE, int)':
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h:835:27: error: 'data' was not declared in this scope
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h: At global scope:
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h:916:15: error: 'BOOL' does not name a type
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h:958:15: error: 'BOOL' does not name a type
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h:997:15: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h:1083:39: error: expected identifier before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h:1083:39: error: expected ',' or '...' before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h:1128:44: error: 'BOOL' has not been declared
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h:1250:15: error: 'BOOL' does not name a type
In file included from /Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/plib.h:67:0,
                 from /Applications/Mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/OneWire/OneWire.h:65,
                 from sketch_apr24a.cpp:1:
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/CAN.h:276:2: error: 'BOOL' does not name a type
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/CAN.h:282:2: error: 'BOOL' does not name a type
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/CAN.h:868:3: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/CAN.h:932:3: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/CAN.h:937:5: error: expected unqualified-id before numeric constant
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/CAN.h:1111:73: error: 'BOOL' has not been declared
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/CAN.h:1313:41: error: 'BOOL' has not been declared
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/CAN.h:1422:1: error: 'BOOL' does not name a type
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/CAN.h:1509:1: error: 'BOOL' does not name a type
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/CAN.h:1645:70: error: 'BOOL' has not been declared
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/CAN.h:1741:92: error: 'BOOL' has not been declared
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/CAN.h:2420:1: error: 'BOOL' does not name a type
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/CAN.h:2765:60: error: 'BOOL' has not been declared
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/CAN.h:2916:1: error: 'BOOL' does not name a type
In file included from /Applications/Mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/OneWire/OneWire.h:65:0,
                 from sketch_apr24a.cpp:1:
/Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/plib.h:70:1: error: expected declaration before '}' token

 

 

 

 

leshak
Offline
Зарегистрирован: 29.09.2011

 Э.... да у вас же камушек pic32. Другой производитель, другое железо, другая архитектура, другая разрядность, другая частота, по другому включаются подтягивающие резисторы и т.д. и т.п..

А "научите без использования бибилиотеки oneWire" это синоним "напишите библиотеку oneWire" под мое железо. К тому же 90% что остальные библиотеки-примеры, если вы их брали от 8-битных amtel контроллеров не пойдут у вас (ну кроме самого примитива который с железом не работает). oneWire это просто первое на чем споткнулся компилятор.

Так что только искать может кто-то уже сделал аналогичную библиотеку для вашего камня (практически уверен что это так, может называется как-то по другому. Судя по форму вашей платы название Wire, а не OneWire). Но это не atmel/arduino форумах смотреть нужно, а среди пиковцев. Или на форме именно по вашей плате.

У вас совместимость с Arduino состоит в размерах и расположении пинов. То есть шилды сделанные для ардуино - воткнутся в вашу плату. И теоретически заработают. Только для этого нужно будет либо искать библиотеки именно для вашей платы/камня, либо писать самому.

 

Babaiko
Offline
Зарегистрирован: 18.12.2011

насколько я понимаю onewire отвечает за передачу данных с нескольких датчиков по одному проводу на один пин.
для меня это не критично пинов свободных есть, датчиков тоже.

интересует в принципе без библиотеки подключить датчики можно?

производитель декларировал что железка arduino совместима библиотека onewire подшита в стандартный софт но пока работает криво.

 

leshak
Offline
Зарегистрирован: 29.09.2011

 >для меня это не критично пинов свободных есть, датчиков тоже.

Если вы надеетесь пожертвовать ногами что-бы упростить работу с датчиками - ничего не получится. Датчик цифровой и в любом случае ожидает шину 1-wire. Развешивание датчиков на разных ноги - будет усложнением. Нужно будет, фактически соорудить несколько 1-wire шин.

Ну либо отказаться от цифровых датчиков и взять аналоговые. Которые "как бы резистор меняющий сопротивление от температуры", тогда их можно будет подключить на аналоговые входы и читать банальным analogRead() (но естественно "цифровой точности" уже не будет).

>интересует в принципе без библиотеки подключить датчики можно?

Конечно можно. "Библиотека" это не "нечто магическое", доступное только производителям оборудования. Это обычные функции, только написанные кем-то заранее для удобного использования.

Вы можете и сами реализовать протокол. Почитать даташиты, описание протокола, выснить как нужно "дернуть пином что-бы послать команду устройству", как расшифровать импульсы которые пришли в ответ. Ну и написать/реализовать функции типа sendCommand/reciveData и т.п.

Если потом, вы оформите их аккуратно, напишите примеры, то можете выложить и сказать "а я написал свою реализацию oneWire". ну может она будет попроще оригинальной oneWire (например вам не нужен поиск устройст на шине - можете не реализовывать его).

Начать знакомство с протоколом можно тут http://www.radiokot.ru/articles/13/

 

Babaiko
Offline
Зарегистрирован: 18.12.2011

 кажется нашол решение на офф форуме.

надо удалить одну строку