khoih-prog / megaAVR_TimerInterrupt

This library enables you to use Interrupt from Hardware Timers on an ATmega4809-based board, such as Arduino UNO WiFi Rev2, AVR_NANO_EVERY, etc. It now supports 16 ISR-based timers, while consuming only 1 hardware Timer. Timers' interval is very long (ulong millisecs). The most important feature is they're ISR-based timers. Therefore, their executions are not blocked by bad-behaving functions or tasks. This important feature is absolutely necessary for mission-critical tasks.
MIT License
5 stars 1 forks source link

Platformio installation #2

Closed n1coh closed 3 years ago

n1coh commented 3 years ago

Hi, thanks for this easy to use library.

I can't install it via platformio, I have this error:

Error: VCS: Unknown repository type khoih.prog@gmail.com/megaAVR_TimerInterrupt

I think it's bad platformio config.

khoih-prog commented 3 years ago

You have to use khoih-prog/megaAVR_TimerInterrupt, not khoih.prog@gmail.com/megaAVR_TimerInterrupt

@ivankravets

Could you please check why all the installation instructions now changes to khoih.prog@gmail.com/library_name, not khoih-prog/library_name anymore. Thanks.

Selection_065

ivankravets commented 3 years ago

@khoih-prog Sorry for the issue. I can't understand what is going with your account. The only I remove duplicated account, someone creates a new one. I've just removed again duplicated account.

So, let's re-test the system. Could you try to log in with a Github account to PlatformIO? Maybe, we have a problem with our account system. See details below for the account.

Screen Shot 2021-10-16 at 19 03 26 m.

n1coh commented 3 years ago

With khoih-prog/megaAVR_TimerInterrupt, installation is going well.

Thank you guys.

khoih-prog commented 3 years ago

@ivankravets

Thanks for the investigation. I think I logged into the account using khoih.prog@gmail.com, which is also the email account for GitHub. I guess the PIO library is using the author name, such as specified in GitHub

  1. library.json
"authors":
  {
    "name":  "Khoi Hoang",
    "url":   "https://github.com/khoih-prog",
    "maintainer": true
  },  
  1. libraries.properties
https://github.com/khoih-prog/megaAVR_TimerInterrupt

not the email of the person who publish the library.

ivankravets commented 3 years ago

@khoih-prog How did you install PlatformIO? Using VSCode? How do you log in?

khoih-prog commented 3 years ago

@ivankravets

I just login again and change the password, in case the account was hacked somehow.

Is there any change in your system recently, as some days ago, I checked and still saw installation instructions as

pio lib install "khoih-prog/megaAVR_TimerInterrupt"
khoih-prog commented 3 years ago

I login using in Ubuntu Terminal

$ pio account login
Username or email: khoih-prog
Password: 
Successfully logged in!
ivankravets commented 3 years ago

pio lib install "khoih-prog/megaAVR_TimerInterrupt"

This is the correct installation command. See https://platformio.org/lib/show/12025/megaAVR_TimerInterrupt/installation

I just login again and change the password, in case the account was hacked somehow.

Great! Next time please use pio lib publish --owner khoih-prog /path/to/lib

I login using in Ubuntu Terminal

What is your pio --version?

khoih-prog commented 3 years ago

I installed PIO + VSCode, but seldom use.

Only using terminal to publish the libraries.

What is your pio --version?

I always update to the latest

$ pio --version
PlatformIO Core, version 5.2.0
ivankravets commented 3 years ago

Super! Please contact me anytime when you have any issues with our registry.

Have a great weekend!

khoih-prog commented 3 years ago

Did you know why there are duplication of same library now?

Selection_066

ivankravets commented 3 years ago

Sorry, that was the cache. Please refresh the page.

khoih-prog commented 3 years ago

Great. It's gone. :+1:

khoih-prog commented 3 years ago

Great! Next time please use pio lib publish --owner khoih-prog /path/to/lib

Thanks. For the record, I think the correct command is

`pio package publish --owner khoih-prog /path/to/lib`
ivankravets commented 3 years ago

I think the correct command is

Ah, yes, sorry! :)