0

我一直在关注 Pebble Clay Config 过程,但被卡住了。我希望能够将温度值从 C 更改为 F,我有执行此操作的代码,但是每当我将来自 Clay 配置页面的信息发送回 pebble 时,它​​似乎无法读取它?我不断收到 appfault 错误。这就是它所说的。

它还使用粘土配置

整个代码的链接在这里

4

1 回答 1

0

I hope you have seen the comprehensive pebble/clay help pages.

You should also add the message keys you specified in config.js in SETTINGS -> PEBBLEKIT JS MESSAGE KEYS in CloudPebble.

You can then read the key values in C code from the message you receive using the identifier MESSAGE_KEY_TempCond.

There are many simple examples of this on GitHub.

于 2016-10-09T04:08:48.483 回答