Ignore:
Timestamp:
Sep 25, 2020, 7:28:35 PM (4 years ago)
Author:
coas-nagasima
Message:

Azure IoT への送信内容を、検出したpersonとcarの数を送信するよう変更。
Azure IoT CentralからLEDのON/OFFが出来るよう更新。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • azure_iot_hub_riscv/trunk/app_iothub_client/src/kpu_main.h

    r458 r459  
    8686#define SPI_MOSI_PIN  28
    8787#define SPI_SS_PIN    29
    88 #define LED_PIN       3         /* D13 */
     88#define LED_G_PIN     12
     89#define LED_R_PIN     13
     90#define LED_B_PIN     14
    8991
    9092#define SPI_PORTID    SPI1_PORTID
     
    133135#ifndef TOPPERS_MACRO_ONLY
    134136
     137typedef struct yolo_result_t {
     138        int reset;
     139        int person;
     140        int car;
     141} yolo_result_t;
     142
     143extern yolo_result_t yolo_result;
     144
    135145/*
    136146 *  ヒープ領域の設定
     
    145155extern void heap_init(intptr_t exinf);
    146156extern void ai_done_isr(intptr_t exinf);
     157extern void pinMode(uint8_t Pin, uint8_t dwMode);
     158extern void digitalWrite(uint8_t Pin, int dwVal);
    147159
    148160#endif /* TOPPERS_MACRO_ONLY */
Note: See TracChangeset for help on using the changeset viewer.