Replies: 1 comment 3 replies
-
Are you proposing adding LORA definitions in Sounds like a good idea as long as it matches the hardware spec for that board. @VojtechBartoska What do you think? According to
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey fellow developers!
I'd like to propose an idea that's related to LoRa devices. As you may know, the framework currently has different files for each compatible device, and each file has specific pin definitions. However, some devices have different pin configurations, which can make it difficult to write portable code across devices.
So, my proposal is to add generic LoRa pin names that can be used across different devices. This way, we could write portable code more easily without worrying about device-specific pin configurations.
I've noticed that some devices already have these generic LoRa pin names, for example, the TTGO devices have the following pin names for lora: LORA_SCK, LORA_MISO, LORA_MOSI, LORA_CS, LORA_RST, LORA_IRQ.
But not all of them do. So, I think we should extend these names to other devices to have a consistent set of names across all devices.
Let me know your thoughts on this proposal. If it is okey I would add a pull request to add these pins for some of the devices that uses LoRa.
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions